interface EmbedTrackInterface in Entity Usage 8.4
Same name and namespace in other branches
- 8 src/EmbedTrackInterface.php \Drupal\entity_usage\EmbedTrackInterface
- 8.2 src/EmbedTrackInterface.php \Drupal\entity_usage\EmbedTrackInterface
- 8.3 src/EmbedTrackInterface.php \Drupal\entity_usage\EmbedTrackInterface
Defines the interface for tracking plugins that embed entities in WYSIWYG.
Hierarchy
- interface \Drupal\entity_usage\EmbedTrackInterface extends \Drupal\entity_track\EntityTrackInterface
Expanded class hierarchy of EmbedTrackInterface
All classes that implement EmbedTrackInterface
1 file declares its use of EmbedTrackInterface
- TextFieldEmbedBase.php in src/
Plugin/ EntityTrack/ Track/ TextFieldEmbedBase.php
File
- src/
EmbedTrackInterface.php, line 10
Namespace
Drupal\entity_usageView source
interface EmbedTrackInterface extends EntityTrackInterface {
/**
* Parse an HTML snippet looking for embedded entities.
*
* @param string $text
* The partial (X)HTML snippet to load. Invalid markup will be corrected on
* import.
*
* @return array
* An array of all embedded entities found, where keys are the uuids and the
* values are the entity types.
*/
public function parseEntitiesFromText($text);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EmbedTrackInterface:: |
public | function | Parse an HTML snippet looking for embedded entities. | 4 |