You are here

public function PullIntent::getEmbeddedEntityData in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getEmbeddedEntityData()
  2. 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

PullIntent

Namespace

Drupal\cms_content_sync

Code

public function getEmbeddedEntityData($definition) {
  $reference = $this->operation
    ->loadReference($definition);
  return $reference
    ->getDetails();
}