You are here

class NestedEntityReferenceRevisionsDetector in Lingotek Translation 3.5.x

Same name and namespace in other branches
  1. 4.0.x src/Plugin/RelatedEntitiesDetector/NestedEntityReferenceRevisionsDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\NestedEntityReferenceRevisionsDetector
  2. 3.6.x src/Plugin/RelatedEntitiesDetector/NestedEntityReferenceRevisionsDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\NestedEntityReferenceRevisionsDetector
  3. 3.7.x src/Plugin/RelatedEntitiesDetector/NestedEntityReferenceRevisionsDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\NestedEntityReferenceRevisionsDetector
  4. 3.8.x src/Plugin/RelatedEntitiesDetector/NestedEntityReferenceRevisionsDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\NestedEntityReferenceRevisionsDetector

@RelatedEntitiesDetector ( id = "nested_entity_reference_revisions_detector", title =

Plugin annotation


@Translation("Get related entity reference revisions"),
  description = @translation("The default retrieval of nested entity reference revisions"),
  weight = 6,
)

Hierarchy

Expanded class hierarchy of NestedEntityReferenceRevisionsDetector

1 file declares its use of NestedEntityReferenceRevisionsDetector
NestedEntityReferenceRevisionsDetectorTest.php in tests/src/Unit/Plugin/RelatedEntitiesDetector/NestedEntityReferenceRevisionsDetectorTest.php

File

src/Plugin/RelatedEntitiesDetector/NestedEntityReferenceRevisionsDetector.php, line 16

Namespace

Drupal\lingotek\Plugin\RelatedEntitiesDetector
View source
class NestedEntityReferenceRevisionsDetector extends EntityReferenceDetectorBase implements RelatedEntitiesDetectorInterface, ContainerFactoryPluginInterface {

  /**
   * {@inheritdoc}
   */
  protected $fieldTypes = [
    "entity_reference_revisions",
  ];

}

Members

Namesort descending Modifiers Type Description Overrides
ContainerFactoryPluginInterface::create public static function Creates an instance of the plugin. 120
NestedEntityReferenceRevisionsDetector::$fieldTypes protected property
RelatedEntitiesDetectorInterface::extract public function Extract nested and related content.