class EntityEmbedDetector in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 4.0.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector
- 3.6.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector
- 3.7.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector
- 3.8.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector
@RelatedEntitiesDetector ( id = "entity_embed_detector", title =
Plugin annotation
@Translation("Get editor embedded entities with entity_embed module"),
description = @translation("Get editor embedded entities with entity_embed module"),
weight = 7,
)
Hierarchy
- class \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector extends \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EditorDetectorBase
Expanded class hierarchy of EntityEmbedDetector
1 file declares its use of EntityEmbedDetector
- EntityEmbedDetectorTest.php in tests/
src/ Unit/ Plugin/ RelatedEntitiesDetector/ EntityEmbedDetectorTest.php
File
- src/
Plugin/ RelatedEntitiesDetector/ EntityEmbedDetector.php, line 13
Namespace
Drupal\lingotek\Plugin\RelatedEntitiesDetectorView source
class EntityEmbedDetector extends EditorDetectorBase {
/**
* {@inheritdoc}
*/
protected $fieldTypes = [
"text",
"text_long",
"text_with_summary",
];
/**
* {@inheritdoc}
*/
protected $xpath = "//drupal-entity[@data-entity-type and @data-entity-uuid]";
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityEmbedDetector:: |
protected | property | ||
EntityEmbedDetector:: |
protected | property |