public static function DefaultParagraphsReferenceHandler::supports in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Plugin/cms_content_sync/field_handler/DefaultParagraphsReferenceHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\DefaultParagraphsReferenceHandler::supports()
- 2.0.x src/Plugin/cms_content_sync/field_handler/DefaultParagraphsReferenceHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\DefaultParagraphsReferenceHandler::supports()
Check if this handler supports the given field instance.
Parameters
string $entity_type:
string $bundle:
string $field_name:
Return value
bool
Overrides MergeableEntityReferenceHandler::supports
File
- src/
Plugin/ cms_content_sync/ field_handler/ DefaultParagraphsReferenceHandler.php, line 21
Class
- DefaultParagraphsReferenceHandler
- Providing a minimalistic implementation for any field type.
Namespace
Drupal\cms_content_sync\Plugin\cms_content_sync\field_handlerCode
public static function supports($entity_type, $bundle, $field_name, FieldDefinitionInterface $field) {
return 'entity_reference_revisions' == $field
->getType();
}