class ExtraFieldType in Entity Extra Field 2.0.x
Same name and namespace in other branches
- 8 src/Annotation/ExtraFieldType.php \Drupal\entity_extra_field\Annotation\ExtraFieldType
Define extra field type plugin annotation.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\entity_extra_field\Annotation\ExtraFieldType
Expanded class hierarchy of ExtraFieldType
1 file declares its use of ExtraFieldType
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\AnnotationView source
class ExtraFieldType extends Plugin {
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $label;
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExtraFieldType:: |
public | property | ||
ExtraFieldType:: |
public | property | ||
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
1 |
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |