You are here

public function ConfigEntityRevisionsModerationInterface::getBundlesForEntityType in Config Entity Revisions 8.2

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

Gets any bundles the workflow is applied to for the given entity type.

Parameters

string $entity_type_id: The entity type ID to get the bundles for.

Return value

string[] The bundles of the entity type the workflow is applied to or an empty array if the entity type is not applied to the workflow.

File

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

Class

ConfigEntityRevisionsModerationInterface
Interface for ContentModeration WorkflowType plugin.

Namespace

Drupal\config_entity_revisions\Plugin\WorkflowType

Code

public function getBundlesForEntityType($entity_type_id);