interface RelatedEntitiesDetectorInterface in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 3.4.x src/RelatedEntities/RelatedEntitiesDetectorInterface.php \Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface
- 3.5.x src/RelatedEntities/RelatedEntitiesDetectorInterface.php \Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface
- 3.6.x src/RelatedEntities/RelatedEntitiesDetectorInterface.php \Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface
- 3.7.x src/RelatedEntities/RelatedEntitiesDetectorInterface.php \Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface
- 3.8.x src/RelatedEntities/RelatedEntitiesDetectorInterface.php \Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface
Hierarchy
- interface \Drupal\lingotek\RelatedEntities\RelatedEntitiesDetectorInterface
Expanded class hierarchy of RelatedEntitiesDetectorInterface
All classes that implement RelatedEntitiesDetectorInterface
8 files declare their use of RelatedEntitiesDetectorInterface
- EditorDetectorBase.php in src/
Plugin/ RelatedEntitiesDetector/ EditorDetectorBase.php - EntityReferenceDetectorBase.php in src/
Plugin/ RelatedEntitiesDetector/ EntityReferenceDetectorBase.php - FieldLinkDetector.php in src/
Plugin/ RelatedEntitiesDetector/ FieldLinkDetector.php - NestedCohesionEntityReferenceRevisionsDetector.php in src/
Plugin/ RelatedEntitiesDetector/ NestedCohesionEntityReferenceRevisionsDetector.php - NestedEntityReferenceRevisionsDetector.php in src/
Plugin/ RelatedEntitiesDetector/ NestedEntityReferenceRevisionsDetector.php
File
- src/
RelatedEntities/ RelatedEntitiesDetectorInterface.php, line 7
Namespace
Drupal\lingotek\RelatedEntitiesView source
interface RelatedEntitiesDetectorInterface {
/**
* Extract nested and related content.
*
* @param Drupal\Core\Entity\ContentEntityInterface $entity
* Entity node to parse for related entities.
* @param array $entities
* Entities found.
* @param array $related
* Related entities.
* @param int $depth
* Recursion depth of entity node.
* @param array $visited
* Array of visited field definitions.
*
* @return array
* An array of the nested content
*/
public function extract(ContentEntityInterface &$entity, array &$entities, array &$related, $depth, array $visited);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RelatedEntitiesDetectorInterface:: |
public | function | Extract nested and related content. | 4 |