public static function DefaultTaxonomyHandler::supports in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Plugin/cms_content_sync/entity_handler/DefaultTaxonomyHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultTaxonomyHandler::supports()
- 2.0.x src/Plugin/cms_content_sync/entity_handler/DefaultTaxonomyHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultTaxonomyHandler::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/ DefaultTaxonomyHandler.php, line 30
Class
- DefaultTaxonomyHandler
- Class DefaultTaxonomyHandler.
Namespace
Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handlerCode
public static function supports($entity_type, $bundle) {
return 'taxonomy_term' == $entity_type;
}