You are here

public function ContentModerationInterface::removeEntityTypeAndBundle in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php \Drupal\content_moderation\Plugin\WorkflowType\ContentModerationInterface::removeEntityTypeAndBundle()
  2. 10 core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php \Drupal\content_moderation\Plugin\WorkflowType\ContentModerationInterface::removeEntityTypeAndBundle()

Removes an entity type ID / bundle ID from the workflow.

Parameters

string $entity_type_id: The entity type ID to remove.

string $bundle_id: The bundle ID to remove.

1 method overrides ContentModerationInterface::removeEntityTypeAndBundle()
ContentModeration::removeEntityTypeAndBundle in core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
Removes an entity type ID / bundle ID from the workflow.

File

core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php, line 54

Class

ContentModerationInterface
Interface for ContentModeration WorkflowType plugin.

Namespace

Drupal\content_moderation\Plugin\WorkflowType

Code

public function removeEntityTypeAndBundle($entity_type_id, $bundle_id);