protected function EntityReferenceHandlerBase::forceEmbeddingReferencedEntities in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 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.
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 256
Class
- EntityReferenceHandlerBase
- Providing a base implementation for any reference field type.
Namespace
Drupal\cms_content_sync\PluginCode
protected function forceEmbeddingReferencedEntities() {
return false;
}