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

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

namespace Drupal\aws_cloud\Entity\Ec2;

/**
 * Provides the snapshot view builders.
 */
class SnapshotViewBuilder extends AwsCloudViewBuilder {

  /**
   * {@inheritdoc}
   */
  protected function getFieldsetDefs() {
    return [
      [
        'name' => 'snapshot',
        'title' => t('Snapshot'),
        'open' => TRUE,
        'fields' => [
          'description',
          'snapshot_id',
          'volume_id',
          'size',
          'status',
          'progress',
          'encrypted',
          'created',
        ],
      ],
      [
        'name' => 'others',
        'title' => t('Others'),
        'open' => FALSE,
        'fields' => [
          'cloud_context',
          'uid',
        ],
      ],
    ];
  }

}

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

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