function ComplexTestType::onDependencyRemoval

Same name and namespace in other branches
  1. 9 core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php \Drupal\workflow_type_test\Plugin\WorkflowType\ComplexTestType::onDependencyRemoval()
  2. 10 core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php \Drupal\workflow_type_test\Plugin\WorkflowType\ComplexTestType::onDependencyRemoval()
  3. 11.x core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php \Drupal\workflow_type_test\Plugin\WorkflowType\ComplexTestType::onDependencyRemoval()

Overrides WorkflowTypeBase::onDependencyRemoval

File

core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php, line 28

Class

ComplexTestType
Test workflow type.

Namespace

Drupal\workflow_type_test\Plugin\WorkflowType

Code

public function onDependencyRemoval(array $dependencies) {
    // Always return TRUE to allow the logic in
    // \Drupal\workflows\Entity\Workflow::onDependencyRemoval() to be tested.
    return TRUE;
}

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