NestedEntityReferenceRevisionsDetector.php in Lingotek Translation 3.5.x
File
src/Plugin/RelatedEntitiesDetector/NestedEntityReferenceRevisionsDetector.php
View source
<?php
namespace Drupal\lingotek\Plugin\RelatedEntitiesDetector;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface;
class NestedEntityReferenceRevisionsDetector extends EntityReferenceDetectorBase implements RelatedEntitiesDetectorInterface, ContainerFactoryPluginInterface {
protected $fieldTypes = [
"entity_reference_revisions",
];
}
Classes
Name |
Description |
NestedEntityReferenceRevisionsDetector |
@RelatedEntitiesDetector (
id = "nested_entity_reference_revisions_detector",
title =
Plugin annotation
@Translation("Get related entity reference revisions"),
description = @translation("The default retrieval of nested entity reference… |