You are here

class NestedErViewmodeEntitiesDetector in Lingotek Translation 4.0.x

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

@RelatedEntitiesDetector ( id = "nested_er_viewmode_entities", title =

Plugin annotation


@Translation("Get related ER viewmode entities"),
  description = @translation("The default retrieval of nested ER viewmode entities"),
  weight = 7,
)

Hierarchy

Expanded class hierarchy of NestedErViewmodeEntitiesDetector

1 file declares its use of NestedErViewmodeEntitiesDetector
NestedErViewmodeEntitiesDetectorTest.php in tests/src/Unit/Plugin/RelatedEntitiesDetector/NestedErViewmodeEntitiesDetectorTest.php

File

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

Namespace

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

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

}

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