class FieldFormatterCondition in Field Formatter Condition 8
Defines a field formatter condition item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\fico\Annotation\FieldFormatterCondition
Expanded class hierarchy of FieldFormatterCondition
See also
\Drupal\fico\Plugin\FieldFormatterConditionManager
10 classes are annotated with FieldFormatterCondition
- HideDateTime in src/
Plugin/ Field/ FieldFormatter/ Condition/ HideDateTime.php - The plugin for check empty fields.
- HideIfAuthor in src/
Plugin/ Field/ FieldFormatter/ Condition/ HideIfAuthor.php - The plugin for check empty fields.
- HideIfBoolCheck in src/
Plugin/ Field/ FieldFormatter/ Condition/ HideIfBoolCheck.php - The plugin for check empty fields.
- HideIfEmpty in src/
Plugin/ Field/ FieldFormatter/ Condition/ HideIfEmpty.php - The plugin for check empty fields.
- HideIfString in src/
Plugin/ Field/ FieldFormatter/ Condition/ HideIfString.php - The plugin for check empty fields.
File
- src/
Annotation/ FieldFormatterCondition.php, line 15
Namespace
Drupal\fico\AnnotationView source
class FieldFormatterCondition extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The field formatter condition label in the select box.
*
* @var string
*/
public $label;
/**
* Show this condition on DS fields.
*
* @var bool
*/
public $dsFields;
/**
* This field formatter condition is allowed for the following field types.
*
* @var array
*/
public $types;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FieldFormatterCondition:: |
public | property | Show this condition on DS fields. | |
FieldFormatterCondition:: |
public | property | The plugin ID. | |
FieldFormatterCondition:: |
public | property | The field formatter condition label in the select box. | |
FieldFormatterCondition:: |
public | property | This field formatter condition is allowed for the following field types. | |
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:: |
|
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 |