You are here

public function AccessControlHierarchyBase::onDependencyRemoval in Workbench Access 8

Informs the plugin that a dependency of the scheme 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 AccessControlHierarchyInterface::onDependencyRemoval

See also

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

2 methods override AccessControlHierarchyBase::onDependencyRemoval()
Menu::onDependencyRemoval in src/Plugin/AccessControlHierarchy/Menu.php
Informs the plugin that a dependency of the scheme will be deleted.
Taxonomy::onDependencyRemoval in src/Plugin/AccessControlHierarchy/Taxonomy.php
Informs the plugin that a dependency of the scheme will be deleted.

File

src/AccessControlHierarchyBase.php, line 322

Class

AccessControlHierarchyBase
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public function onDependencyRemoval(array $dependencies) {
  return FALSE;
}