cloud-8.x-2.0-beta1/modules/cloud_service_providers/aws_cloud/src/Entity/Ec2/ElasticIpViewBuilder.php

modules/cloud_service_providers/aws_cloud/src/Entity/Ec2/ElasticIpViewBuilder.php
<?php

namespace Drupal\aws_cloud\Entity\Ec2;

/**
 * Provides the Elastic IP view builders.
 */
class ElasticIpViewBuilder extends AwsCloudViewBuilder {

  /**
   * {@inheritdoc}
   */
  protected function getFieldsetDefs() {
    return [
      [
        'name' => 'ip_address',
        'title' => t('IP Address'),
        'open' => TRUE,
        'fields' => [
          'public_ip',
          'private_ip_address',
          'created',
        ],
      ],
      [
        'name' => 'assign',
        'title' => t('Assign'),
        'open' => TRUE,
        'fields' => [
          'instance_id',
          'network_interface_id',
          'allocation_id',
          'association_id',
          'domain',
          'network_interface_owner',
        ],
      ],
      [
        'name' => 'others',
        'title' => t('Others'),
        'open' => FALSE,
        'fields' => [
          'cloud_context',
          'uid',
        ],
      ],
    ];
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc