public function ContentSyncSettings::getEmbedEntities in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Controller/ContentSyncSettings.php \Drupal\cms_content_sync\Controller\ContentSyncSettings::getEmbedEntities()
- 2.0.x src/Controller/ContentSyncSettings.php \Drupal\cms_content_sync\Controller\ContentSyncSettings::getEmbedEntities()
Return value
string[]
File
- src/
Controller/ ContentSyncSettings.php, line 99
Class
- ContentSyncSettings
- Class ContentSyncSettings.
Namespace
Drupal\cms_content_sync\ControllerCode
public function getEmbedEntities() {
if (null !== $this->embedEntities) {
return $this->embedEntities;
}
$value = $this->configFactory
->get('cms_content_sync.settings')
->get('cms_content_sync_embed_entities');
if (!$value) {
$value = [];
}
return $this->embedEntities = $value;
}