You are here

public static function MergeableEntityReferenceHandler::supports in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/cms_content_sync/field_handler/MergeableEntityReferenceHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\MergeableEntityReferenceHandler::supports()
  2. 2.1.x src/Plugin/cms_content_sync/field_handler/MergeableEntityReferenceHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\MergeableEntityReferenceHandler::supports()

Check if this handler supports the given field instance.

Parameters

string $entity_type:

string $bundle:

string $field_name:

Return value

bool

Overrides DefaultEntityReferenceHandler::supports

1 method overrides MergeableEntityReferenceHandler::supports()
DefaultParagraphsReferenceHandler::supports in src/Plugin/cms_content_sync/field_handler/DefaultParagraphsReferenceHandler.php
Check if this handler supports the given field instance.

File

src/Plugin/cms_content_sync/field_handler/MergeableEntityReferenceHandler.php, line 25

Class

MergeableEntityReferenceHandler
Providing a minimalistic implementation for any field type.

Namespace

Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler

Code

public static function supports($entity_type, $bundle, $field_name, FieldDefinitionInterface $field) {
  return false;
}