You are here

class NestedEntityReferencesDetector in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 3.4.x src/Plugin/RelatedEntitiesDetector/NestedEntityReferencesDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\NestedEntityReferencesDetector
  2. 3.5.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
EntityReferenceDetectorBase::$entityFieldManager protected property The entity field manager.
EntityReferenceDetectorBase::$entityTypeManager protected property The entity type manager.
EntityReferenceDetectorBase::$lingotekConfiguration protected property The Lingotek configuration service.
EntityReferenceDetectorBase::create public static function Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface::create
EntityReferenceDetectorBase::extract public function Extract nested and related content. Overrides RelatedEntitiesDetectorInterface::extract
EntityReferenceDetectorBase::__construct public function NestedEntityReferences constructor. Overrides PluginBase::__construct
NestedEntityReferencesDetector::$fieldTypes protected property
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 2
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.