You are here

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

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

The XPath to find embedded content.

Type: string

Overrides EditorDetectorBase::$xpath

File

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

Class

LinkItDetector
@RelatedEntitiesDetector ( id = "linkit_detector", title = Plugin annotation @Translation("Get editor linked entities with LinkIt module"), description = @translation("Get editor linked entities with LinkIt module"), weight = 7, )

Namespace

Drupal\lingotek\Plugin\RelatedEntitiesDetector

Code

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