public function ConfigEntityRevisionsModerationInterface::getBundlesForEntityType in Config Entity Revisions 1.x
Same name and namespace in other branches
- 8.2 src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::getBundlesForEntityType()
- 8 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 30
Class
- ConfigEntityRevisionsModerationInterface
- Interface for ContentModeration WorkflowType plugin.
Namespace
Drupal\config_entity_revisions\Plugin\WorkflowTypeCode
public function getBundlesForEntityType($entity_type_id);