You are here

protected property EntityEmbedDetector::$xpath in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 3.5.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector::xpath
  2. 3.6.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector::xpath
  3. 3.7.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector::xpath
  4. 3.8.x src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EntityEmbedDetector::xpath

The XPath to find embedded content.

Type: string

Overrides EditorDetectorBase::$xpath

File

src/Plugin/RelatedEntitiesDetector/EntityEmbedDetector.php, line 23

Class

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…

Namespace

Drupal\lingotek\Plugin\RelatedEntitiesDetector

Code

protected $xpath = "//drupal-entity[@data-entity-type and @data-entity-uuid]";