You are here

public function ConfigEntityRevisionsModerationInterface::addEntityTypeAndBundle 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::addEntityTypeAndBundle()
  2. 8 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\WorkflowType

Code

public function addEntityTypeAndBundle($entity_type_id, $bundle_id);