public function PullIntent::getEmbeddedEntityData in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getEmbeddedEntityData()
- 2.0.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getEmbeddedEntityData()
Get all embedded entity data besides the predefined keys. Images for example have "alt" and "title" in addition to the file reference.
Parameters
$definition:
Return value
array
File
- src/
PullIntent.php, line 463
Class
Namespace
Drupal\cms_content_syncCode
public function getEmbeddedEntityData($definition) {
$reference = $this->operation
->loadReference($definition);
return $reference
->getDetails();
}