NestedErViewmodeEntitiesDetector.php in Lingotek Translation 4.0.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;
class NestedErViewmodeEntitiesDetector extends EntityReferenceDetectorBase implements RelatedEntitiesDetectorInterface, ContainerFactoryPluginInterface {
protected $fieldTypes = [
"er_viewmode",
];
}
Classes
Name |
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,
) |