You are here

public function ConfigEntityRevisionsModerationInterface::appliesToEntityTypeAndBundle in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::appliesToEntityTypeAndBundle()
  2. 8 src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::appliesToEntityTypeAndBundle()

Checks if the workflow applies to the supplied entity type and bundle.

Parameters

string $entity_type_id: The entity type ID to check.

string $bundle_id: The bundle ID to check.

Return value

bool TRUE if the workflow applies to the supplied entity type ID and bundle ID. FALSE if not.

File

src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php, line 44

Class

ConfigEntityRevisionsModerationInterface
Interface for ContentModeration WorkflowType plugin.

Namespace

Drupal\config_entity_revisions\Plugin\WorkflowType

Code

public function appliesToEntityTypeAndBundle($entity_type_id, $bundle_id);