class DiffGenerator in Entity Share 8.3
Defines a DiffGenerator annotation object.
Plugin annotation
@SuppressWarnings(PHPMD . CamelCasePropertyName);
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\entity_share_diff\Annotation\DiffGenerator
Expanded class hierarchy of DiffGenerator
See also
\Drupal\entity_share_diff\DiffGenerator\DiffGeneratorPluginManager
11 classes are annotated with DiffGenerator
- CommentFieldDiffParser in modules/
entity_share_diff/ src/ Plugin/ DiffGenerator/ CommentFieldDiffParser.php - Plugin to diff comment fields.
- CoreFieldDiffParser in modules/
entity_share_diff/ src/ Plugin/ DiffGenerator/ CoreFieldDiffParser.php - Plugin to diff core field types.
- DynamicEntityReferenceFieldDiffParser in modules/
entity_share_diff/ src/ Plugin/ DiffGenerator/ DynamicEntityReferenceFieldDiffParser.php - Plugin to diff entity reference fields.
- EntityReferenceFieldDiffParser in modules/
entity_share_diff/ src/ Plugin/ DiffGenerator/ EntityReferenceFieldDiffParser.php - Plugin to diff entity reference fields.
- EntityReferenceRevisionsFieldDiffParser in modules/
entity_share_diff/ src/ Plugin/ DiffGenerator/ EntityReferenceRevisionsFieldDiffParser.php - Plugin to diff entity reference fields.
File
- modules/
entity_share_diff/ src/ Annotation/ DiffGenerator.php, line 19
Namespace
Drupal\entity_share_diff\AnnotationView source
class DiffGenerator extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the generator type.
*
* @var \Drupal\Core\Annotation\Translation
* @ingroup plugin_translatable
*/
public $label;
/**
* Array of applicable field types.
*
* @var string[]
*/
public $field_types;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiffGenerator:: |
public | property | Array of applicable field types. | |
DiffGenerator:: |
public | property | The plugin ID. | |
DiffGenerator:: |
public | property | The human-readable name of the generator type. | |
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 |