class PluginID

Defines a Plugin annotation object that just contains an ID.

Hierarchy

Expanded class hierarchy of PluginID

163 files declare their use of PluginID
Access.php in drupal/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php
Definition of Drupal\node\Plugin\views\filter\Access.
Boolean.php in drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Boolean.php
Definition of Drupal\views\Plugin\views\field\Boolean.
BooleanOperator.php in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php
Definition of Drupal\views\Plugin\views\filter\BooleanOperator.
BooleanOperatorString.php in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperatorString.php
Definition of Drupal\views\Plugin\views\filter\BooleanOperatorString.
Broken.php in drupal/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Broken.php
Definition of Drupal\views\Plugin\views\relationship\Broken.

... See full list

162 classes are annotated with PluginID
Access in drupal/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php
Filter by node_access records.
Boolean in drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Boolean.php
A handler to provide proper displays for booleans.
BooleanOperator in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php
Simple filter to handle matching of boolean values
BooleanOperatorString in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperatorString.php
Simple filter to handle matching of boolean values.
Broken in drupal/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Broken.php
A special handler to take the place of missing or broken handlers.

... See full list

File

drupal/core/lib/Drupal/Component/Annotation/PluginID.php, line 15
Contains Drupal\Component\Annotation\PluginID.

Namespace

Drupal\Component\Annotation
View source
class PluginID implements AnnotationInterface {

  /**
   * The plugin ID.
   *
   * When an annotation is given no key, 'value' is assumed by Doctrine.
   *
   * @var string
   */
  public $value;

  /**
   * Implements \Drupal\Core\Annotation\AnnotationInterface::get().
   */
  public function get() {
    return array(
      'id' => $this->value,
    );
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PluginID::$value public property The plugin ID.
PluginID::get public function Implements \Drupal\Core\Annotation\AnnotationInterface::get(). Overrides AnnotationInterface::get