You are here

class ExtraFieldType in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Annotation/ExtraFieldType.php \Drupal\entity_extra_field\Annotation\ExtraFieldType

Define extra field type plugin annotation.

Hierarchy

Expanded class hierarchy of ExtraFieldType

3 files declare their use of ExtraFieldType
ExtraFieldBlockPlugin.php in src/Plugin/ExtraFieldType/ExtraFieldBlockPlugin.php
ExtraFieldTokenPlugin.php in src/Plugin/ExtraFieldType/ExtraFieldTokenPlugin.php
ExtraFieldViewsPlugin.php in src/Plugin/ExtraFieldType/ExtraFieldViewsPlugin.php
4 classes are annotated with ExtraFieldType
ExtraFieldBlockPlugin in src/Plugin/ExtraFieldType/ExtraFieldBlockPlugin.php
Define extra field block type.
ExtraFieldEntityLinkPlugin in src/Plugin/ExtraFieldType/ExtraFieldEntityLinkPlugin.php
Define the extra field entity link type.
ExtraFieldTokenPlugin in src/Plugin/ExtraFieldType/ExtraFieldTokenPlugin.php
Define extra field token plugin.
ExtraFieldViewsPlugin in src/Plugin/ExtraFieldType/ExtraFieldViewsPlugin.php
Define extra field views plugin.

File

src/Annotation/ExtraFieldType.php, line 12

Namespace

Drupal\entity_extra_field\Annotation
View source
class ExtraFieldType extends Plugin {

  /**
   * @var string
   */
  public $id;

  /** @var string */
  public $label;

}

Members

Namesort descending Modifiers Type Description Overrides
ExtraFieldType::$id public property
ExtraFieldType::$label public property @var string
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2