public static function DefaultFieldCollectionItemHandler::supports in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultFieldCollectionItemHandler::supports()
- 2.0.x src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultFieldCollectionItemHandler::supports()
Check if this handler supports the given entity type.
Parameters
string $entity_type:
string $bundle:
Return value
bool
Overrides EntityHandlerInterface::supports
File
- src/
Plugin/ cms_content_sync/ entity_handler/ DefaultFieldCollectionItemHandler.php, line 24
Class
- DefaultFieldCollectionItemHandler
- Class DefaultFieldCollectionItemHandler.
Namespace
Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handlerCode
public static function supports($entity_type, $bundle) {
return 'field_collection_item' == $entity_type;
}