You are here

class FieldComparator in Conflict 8.2

Defines a FieldComparator annotation object.

Plugin Namespace: Plugin\Conflict\FieldComparator

Hierarchy

Expanded class hierarchy of FieldComparator

1 file declares its use of FieldComparator
FieldComparatorManager.php in src/FieldComparatorManager.php
2 classes are annotated with FieldComparator
FieldComparatorDefault in src/Plugin/Conflict/FieldComparator/FieldComparatorDefault.php
Default field comparator plugin implementation covering all fields.
FieldComparatorParagraphReference in modules/conflict_paragraphs/src/Plugin/Conflict/FieldComparator/FieldComparatorParagraphReference.php
Field comparator plugin implementation for paragraph reference fields.

File

src/Annotation/FieldComparator.php, line 14

Namespace

Drupal\conflict\Annotation
View source
class FieldComparator extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The entity type ID this plugin applies to.
   *
   * @var string
   */
  public $entity_type_id;

  /**
   * The bundle of the entity type this plugin applies to.
   *
   * @var string
   */
  public $bundle;

  /**
   * The field type this plugin applies to.
   *
   * @var string
   */
  public $field_type;

  /**
   * The field name of the entity type this plugin applies to.
   *
   * @var string
   */
  public $field_name;

  /**
   * The weight of the plugin.
   *
   * @var int
   */
  public $weight;

}

Members

Namesort descending Modifiers Type Description Overrides
FieldComparator::$bundle public property The bundle of the entity type this plugin applies to.
FieldComparator::$entity_type_id public property The entity type ID this plugin applies to.
FieldComparator::$field_name public property The field name of the entity type this plugin applies to.
FieldComparator::$field_type public property The field type this plugin applies to.
FieldComparator::$id public property The plugin ID.
FieldComparator::$weight public property The weight of the plugin.
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