public static function EntityHandlerPluginManager::isSupported in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Plugin/Type/EntityHandlerPluginManager.php \Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager::isSupported()
- 2.0.x src/Plugin/Type/EntityHandlerPluginManager.php \Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager::isSupported()
Check whether or not the given entity type is supported.
Parameters
$type_key:
$entity_bundle_name:
Return value
mixed
6 calls to EntityHandlerPluginManager::isSupported()
- cms_content_sync_entity_delete in ./
cms_content_sync.module - Push the entity deletion automatically if configured to do so.
- cms_content_sync_entity_insert in ./
cms_content_sync.module - Push the entity automatically if configured to do so.
- cms_content_sync_entity_operation_alter in ./
cms_content_sync.module - Implements hook_entity_operation_alter().
- cms_content_sync_entity_translation_delete in ./
cms_content_sync.module - Implements hook_entity_translation_delete().
- cms_content_sync_entity_update in ./
cms_content_sync.module - Push the entity automatically if configured to do so.
File
- src/
Plugin/ Type/ EntityHandlerPluginManager.php, line 212
Class
- EntityHandlerPluginManager
- Manages discovery and instantiation of entity handler plugins.
Namespace
Drupal\cms_content_sync\Plugin\TypeCode
public static function isSupported($type_key, $entity_bundle_name) {
return self::getEntityTypeInfo($type_key, $entity_bundle_name)['is_supported'];
}