You are here

public static function DefaultFieldCollectionItemHandler::supports in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultFieldCollectionItemHandler::supports()
  2. 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_handler

Code

public static function supports($entity_type, $bundle) {
  return 'field_collection_item' == $entity_type;
}