public function ConfigEntityRevisionsModerationInterface::addEntityTypeAndBundle in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::addEntityTypeAndBundle()
- 1.x src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::addEntityTypeAndBundle()
Add an entity type ID / bundle ID to the workflow.
Parameters
string $entity_type_id: The entity type ID to add. It is responsibility of the caller to provide a valid entity type ID.
string $bundle_id: The bundle ID to add. It is responsibility of the caller to provide a valid bundle ID.
File
- src/
Plugin/ WorkflowType/ ConfigEntityRevisionsModerationInterface.php, line 66
Class
- ConfigEntityRevisionsModerationInterface
- Interface for ContentModeration WorkflowType plugin.
Namespace
Drupal\config_entity_revisions\Plugin\WorkflowTypeCode
public function addEntityTypeAndBundle($entity_type_id, $bundle_id);