function WorkflowTypeBase::onDependencyRemoval

Same name in other branches
  1. 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::onDependencyRemoval()
  2. 10 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::onDependencyRemoval()
  3. 11.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::onDependencyRemoval()

Overrides WorkflowTypeInterface::onDependencyRemoval

1 call to WorkflowTypeBase::onDependencyRemoval()
ContentModeration::onDependencyRemoval in core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
Informs the plugin that a dependency of the workflow will be deleted.
2 methods override WorkflowTypeBase::onDependencyRemoval()
ComplexTestType::onDependencyRemoval in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php
Informs the plugin that a dependency of the workflow will be deleted.
ContentModeration::onDependencyRemoval in core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
Informs the plugin that a dependency of the workflow will be deleted.

File

core/modules/workflows/src/Plugin/WorkflowTypeBase.php, line 101

Class

WorkflowTypeBase
A base class for Workflow type plugins.

Namespace

Drupal\workflows\Plugin

Code

public function onDependencyRemoval(array $dependencies) {
    return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.