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

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

namespace Drupal\aws_cloud\Entity\Ec2;

/**
 * Provides the key pair view builders.
 */
class KeyPairViewBuilder extends AwsCloudViewBuilder {

  /**
   * {@inheritdoc}
   */
  protected function getFieldsetDefs() {
    return [
      [
        'name' => 'key_pair',
        'title' => t('Key Pair'),
        'open' => TRUE,
        'fields' => [
          'key_pair_name',
          'key_fingerprint',
          'key_material',
          'created',
        ],
      ],
      [
        'name' => 'others',
        'title' => t('Others'),
        'open' => FALSE,
        'fields' => [
          'cloud_context',
          'uid',
        ],
      ],
    ];
  }

}

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

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