public function WorkflowTypeBase::onDependencyRemoval in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::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.
Overrides WorkflowTypeInterface::onDependencyRemoval
See also
\Drupal\Core\Config\ConfigEntityInterface::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\PluginCode
public function onDependencyRemoval(array $dependencies) {
return FALSE;
}