You are here

class NestedErViewmodeEntitiesDetector in Lingotek Translation 3.5.x

Same name and namespace in other branches
  1. 4.0.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
ContainerFactoryPluginInterface::create public static function Creates an instance of the plugin. 120
NestedErViewmodeEntitiesDetector::$fieldTypes protected property
RelatedEntitiesDetectorInterface::extract public function Extract nested and related content.