function Workflow::onDependencyRemoval
Overrides ConfigEntityBase::onDependencyRemoval
File
- 
              core/modules/ workflows/ src/ Entity/ Workflow.php, line 171 
Class
- Workflow
- Defines the workflow entity.
Namespace
Drupal\workflows\EntityCode
public function onDependencyRemoval(array $dependencies) {
  // Give the parent method and the workflow type plugin a chance to react
  // to removed dependencies and report if either of these two made a change.
  $parent_changed_entity = parent::onDependencyRemoval($dependencies);
  $plugin_changed_entity = $this->getTypePlugin()
    ->onDependencyRemoval($dependencies);
  return $plugin_changed_entity || $parent_changed_entity;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
