class EntityFieldCompareType in Entity Field Condition 2.0.x
Define the entity field compare type plugin annotation.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\entity_field_condition\Annotation\EntityFieldCompareType
Expanded class hierarchy of EntityFieldCompareType
2 files declare their use of EntityFieldCompareType
- EntityFieldCompareTypeManager.php in src/
EntityFieldCompareTypeManager.php - EntityFieldNullCompareType.php in src/
Plugin/ EntityFieldCondition/ CompareType/ EntityFieldNullCompareType.php
2 classes are annotated with EntityFieldCompareType
- EntityFieldNullCompareType in src/
Plugin/ EntityFieldCondition/ CompareType/ EntityFieldNullCompareType.php - Define the entity field NULL compare type plugin.
- EntityFieldOperationCompareType in src/
Plugin/ EntityFieldCondition/ CompareType/ EntityFieldOperationCompareType.php - Define the entity field operation compare type plugin.
File
- src/
Annotation/ EntityFieldCompareType.php, line 14
Namespace
Drupal\entity_field_condition\AnnotationView source
class EntityFieldCompareType extends Plugin {
/**
* The entity field compare type plugin ID.
*
* @var string
*/
public $id;
/**
* The entity field compare type plugin label.
*
* @var string
*/
public $label;
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityFieldCompareType:: |
public | property | The entity field compare type plugin ID. | |
EntityFieldCompareType:: |
public | property | The entity field compare type plugin label. | |
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 |