function WorkflowTypeInterface::onDependencyRemoval

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

Informs the plugin that a dependency of the workflow will be deleted.

@todo https://www.drupal.org/node/2579743 make part of a generic interface.

Parameters

array $dependencies: An array of dependencies that will be deleted keyed by dependency type.

Return value

bool TRUE if the workflow settings have been changed, FALSE if not.

See also

\Drupal\Core\Config\ConfigEntityInterface::onDependencyRemoval()

1 method overrides WorkflowTypeInterface::onDependencyRemoval()
WorkflowTypeBase::onDependencyRemoval in core/modules/workflows/src/Plugin/WorkflowTypeBase.php
Informs the plugin that a dependency of the workflow will be deleted.

File

core/modules/workflows/src/WorkflowTypeInterface.php, line 93

Class

WorkflowTypeInterface
An interface for Workflow type plugins.

Namespace

Drupal\workflows

Code

public function onDependencyRemoval(array $dependencies);

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