class LinkItDetector in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 4.0.x src/Plugin/RelatedEntitiesDetector/LinkItDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\LinkItDetector
- 3.6.x src/Plugin/RelatedEntitiesDetector/LinkItDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\LinkItDetector
- 3.7.x src/Plugin/RelatedEntitiesDetector/LinkItDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\LinkItDetector
- 3.8.x src/Plugin/RelatedEntitiesDetector/LinkItDetector.php \Drupal\lingotek\Plugin\RelatedEntitiesDetector\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,
)
Hierarchy
- class \Drupal\lingotek\Plugin\RelatedEntitiesDetector\LinkItDetector extends \Drupal\lingotek\Plugin\RelatedEntitiesDetector\EditorDetectorBase
Expanded class hierarchy of LinkItDetector
1 file declares its use of LinkItDetector
- LinkItDetectorTest.php in tests/
src/ Unit/ Plugin/ RelatedEntitiesDetector/ LinkItDetectorTest.php
File
- src/
Plugin/ RelatedEntitiesDetector/ LinkItDetector.php, line 13
Namespace
Drupal\lingotek\Plugin\RelatedEntitiesDetectorView source
class LinkItDetector extends EditorDetectorBase {
/**
* {@inheritdoc}
*/
protected $fieldTypes = [
"text",
"text_long",
"text_with_summary",
];
/**
* {@inheritdoc}
*/
protected $xpath = "//a[@data-entity-type and @data-entity-uuid]";
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LinkItDetector:: |
protected | property | ||
LinkItDetector:: |
protected | property |