You are here

class NestedEntityReferencesDetector in Lingotek Translation 3.5.x

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

@RelatedEntitiesDetector ( id = "nested_entity_references", title =

Plugin annotation


@Translation("Get related entity references"),
  description = @Translation("The default retrieval of nested entities"),
  weight = 5,
)

Hierarchy

Expanded class hierarchy of NestedEntityReferencesDetector

1 file declares its use of NestedEntityReferencesDetector
NestedEntityReferencesDetectorTest.php in tests/src/Unit/Plugin/RelatedEntitiesDetector/NestedEntityReferencesDetectorTest.php

File

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

Namespace

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

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

}

Members

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