You are here

class NestedCohesionEntityReferenceRevisionsDetector in Lingotek Translation 3.6.x

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

@RelatedEntitiesDetector ( id = "nested_cohesion_entity_reference_revisions_detector", title =

Plugin annotation


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

Hierarchy

Expanded class hierarchy of NestedCohesionEntityReferenceRevisionsDetector

1 file declares its use of NestedCohesionEntityReferenceRevisionsDetector
NestedCohesionEntityReferenceRevisionsDetectorTest.php in tests/src/Unit/Plugin/RelatedEntitiesDetector/NestedCohesionEntityReferenceRevisionsDetectorTest.php

File

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

Namespace

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

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

}

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
NestedCohesionEntityReferenceRevisionsDetector::$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.