public function WorkflowTypeInterface::onDependencyRemoval in Drupal 8
Same name and namespace in other branches
- 9 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 94
Class
- WorkflowTypeInterface
- An interface for Workflow type plugins.
Namespace
Drupal\workflowsCode
public function onDependencyRemoval(array $dependencies);