You are here

protected function EntityReferenceHandlerBase::getReferencedEntityTypes in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Plugin/EntityReferenceHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityReferenceHandlerBase::getReferencedEntityTypes()
  2. 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. $settings_key is the index at $form['sync_entities'] for this handler instance.
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 364

Class

EntityReferenceHandlerBase
Providing a base implementation for any reference field type.

Namespace

Drupal\cms_content_sync\Plugin

Code

protected function getReferencedEntityTypes() {
  return self::getReferencedEntityTypesFromFieldDefinition($this->fieldDefinition);
}