ds-8.x-3.9/src/Annotation/DsField.php

src/Annotation/DsField.php
<?php

namespace Drupal\ds\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a DsField annotation object.
 *
 * @Annotation
 */
class DsField extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the DS plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $title;

  /**
   * The entity type this plugin should work on.
   *
   * @var string|array
   */
  public $entity_type;

  /**
   * An array of limits for showing this field.
   *
   * In the format: "bundle|view_mode".
   *
   * @var array
   */
  public $ui_limit;

}

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

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