You are here

public function AccessControlHierarchyBase::resetTree in Workbench Access 8

Resets the internal cache of the tree.

This code is not currently used by the module. It is provided as a convenience for developers since $tree is a protected property.

Overrides AccessControlHierarchyInterface::resetTree

File

src/AccessControlHierarchyBase.php, line 168

Class

AccessControlHierarchyBase
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public function resetTree() {
  unset($this->tree);
}