You are here

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

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

Check if this handler supports the given entity type.

Parameters

string $entity_type:

string $bundle:

Return value

bool

8 methods override EntityHandlerInterface::supports()
DefaultConfigEntityHandler::supports in src/Plugin/cms_content_sync/entity_handler/DefaultConfigEntityHandler.php
Check if this handler supports the given entity type.
DefaultContentEntityHandler::supports in src/Plugin/cms_content_sync/entity_handler/DefaultContentEntityHandler.php
Check if this handler supports the given entity type.
DefaultCropHandler::supports in src/Plugin/cms_content_sync/entity_handler/DefaultCropHandler.php
Check if this handler supports the given entity type.
DefaultFieldCollectionItemHandler::supports in src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php
Check if this handler supports the given entity type.
DefaultMediaHandler::supports in src/Plugin/cms_content_sync/entity_handler/DefaultMediaHandler.php
Check if this handler supports the given entity type.

... See full list

File

src/Plugin/EntityHandlerInterface.php, line 32

Class

EntityHandlerInterface
Specifies the publicly available methods of an entity handler plugin that can be used to push and pull entities with Sync Core.

Namespace

Drupal\cms_content_sync\Plugin

Code

public static function supports($entity_type, $bundle);