protected function EntityReferenceHandlerBase::forceEmbeddingReferencedEntities in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Plugin/EntityReferenceHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityReferenceHandlerBase::forceEmbeddingReferencedEntities()
- 2.0.x src/Plugin/EntityReferenceHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityReferenceHandlerBase::forceEmbeddingReferencedEntities()
Don't expose option, but force push.
Return value
bool
3 calls to EntityReferenceHandlerBase::forceEmbeddingReferencedEntities()
- EntityReferenceHandlerBase::getHandlerSettings in src/
Plugin/ EntityReferenceHandlerBase.php - Get the handler settings.
- EntityReferenceHandlerBase::shouldEmbedReferencedEntities in src/
Plugin/ EntityReferenceHandlerBase.php - Check if referenced entities should be embedded automatically.
- EntityReferenceHandlerBase::validateHandlerSettings in src/
Plugin/ EntityReferenceHandlerBase.php - Validate the settings defined above. $form and $form_state are the same as in the Form API. $settings_key is the index at $form['sync_entities'] for this handler instance.
2 methods override EntityReferenceHandlerBase::forceEmbeddingReferencedEntities()
- DefaultFieldCollectionHandler::forceEmbeddingReferencedEntities in src/
Plugin/ cms_content_sync/ field_handler/ DefaultFieldCollectionHandler.php - Don't expose option, but force push.
- DefaultWebformHandler::forceEmbeddingReferencedEntities in src/
Plugin/ cms_content_sync/ field_handler/ DefaultWebformHandler.php - Don't expose option, but force push.
File
- src/
Plugin/ EntityReferenceHandlerBase.php, line 272
Class
- EntityReferenceHandlerBase
- Providing a base implementation for any reference field type.
Namespace
Drupal\cms_content_sync\PluginCode
protected function forceEmbeddingReferencedEntities() {
return false;
}