You are here

NestedErViewmodeEntitiesDetector.php in Lingotek Translation 3.8.x

File

src/Plugin/RelatedEntitiesDetector/NestedErViewmodeEntitiesDetector.php
View source
<?php

namespace Drupal\lingotek\Plugin\RelatedEntitiesDetector;

use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface;

/**
 * @RelatedEntitiesDetector (
 *   id = "nested_er_viewmode_entities",
 *   title = @Translation("Get related ER viewmode entities"),
 *   description = @translation("The default retrieval of nested ER viewmode entities"),
 *   weight = 7,
 * )
 */
class NestedErViewmodeEntitiesDetector extends EntityReferenceDetectorBase implements RelatedEntitiesDetectorInterface, ContainerFactoryPluginInterface {

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

}

Classes

Namesort descending Description
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, )