public function ConfigEntityRevisionsModerationInterface::appliesToEntityTypeAndBundle in Config Entity Revisions 8.2
Same name and namespace in other branches
- 8 src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::appliesToEntityTypeAndBundle()
- 1.x src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::appliesToEntityTypeAndBundle()
Checks if the workflow applies to the supplied entity type and bundle.
Parameters
string $entity_type_id: The entity type ID to check.
string $bundle_id: The bundle ID to check.
Return value
bool TRUE if the workflow applies to the supplied entity type ID and bundle ID. FALSE if not.
File
- src/
Plugin/ WorkflowType/ ConfigEntityRevisionsModerationInterface.php, line 45
Class
- ConfigEntityRevisionsModerationInterface
- Interface for ContentModeration WorkflowType plugin.
Namespace
Drupal\config_entity_revisions\Plugin\WorkflowTypeCode
public function appliesToEntityTypeAndBundle($entity_type_id, $bundle_id);