You are here

class DiffGenerator in Entity Share 8.3

Defines a DiffGenerator annotation object.

Plugin annotation

@SuppressWarnings(PHPMD . CamelCasePropertyName);

Hierarchy

Expanded class hierarchy of DiffGenerator

See also

\Drupal\entity_share_diff\DiffGenerator\DiffGeneratorPluginManager

Plugin API

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.

... See full list

File

modules/entity_share_diff/src/Annotation/DiffGenerator.php, line 19

Namespace

Drupal\entity_share_diff\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
DiffGenerator::$field_types public property Array of applicable field types.
DiffGenerator::$id public property The plugin ID.
DiffGenerator::$label public property The human-readable name of the generator type.
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