protected function EntityReferenceHandlerBase::getReferencedEntityTypes 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::getReferencedEntityTypes()
- 2.0.x src/Plugin/EntityReferenceHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityReferenceHandlerBase::getReferencedEntityTypes()
Return value
string[]
4 calls to EntityReferenceHandlerBase::getReferencedEntityTypes()
- EntityReferenceHandlerBase::allowPushingReferencedEntities in src/
Plugin/ EntityReferenceHandlerBase.php - EntityReferenceHandlerBase::getHandlerSettings in src/
Plugin/ EntityReferenceHandlerBase.php - Get the handler settings.
- EntityReferenceHandlerBase::shouldPushReferencedEntities in src/
Plugin/ EntityReferenceHandlerBase.php - Check if referenced entities should be pushed 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.
3 methods override EntityReferenceHandlerBase::getReferencedEntityTypes()
- DefaultFieldCollectionHandler::getReferencedEntityTypes in src/
Plugin/ cms_content_sync/ field_handler/ DefaultFieldCollectionHandler.php - DefaultMenuLinkContentReferenceHandler::getReferencedEntityTypes in src/
Plugin/ cms_content_sync/ field_handler/ DefaultMenuLinkContentReferenceHandler.php - DefaultWebformHandler::getReferencedEntityTypes in src/
Plugin/ cms_content_sync/ field_handler/ DefaultWebformHandler.php
File
- src/
Plugin/ EntityReferenceHandlerBase.php, line 348
Class
- EntityReferenceHandlerBase
- Providing a base implementation for any reference field type.
Namespace
Drupal\cms_content_sync\PluginCode
protected function getReferencedEntityTypes() {
return self::getReferencedEntityTypesFromFieldDefinition($this->fieldDefinition);
}