public function WorkspaceRepository::resetCache in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/src/WorkspaceRepository.php \Drupal\workspaces\WorkspaceRepository::resetCache()
Resets the cached workspace tree.
Return value
$this
Overrides WorkspaceRepositoryInterface::resetCache
File
- core/
modules/ workspaces/ src/ WorkspaceRepository.php, line 144
Class
- WorkspaceRepository
- Provides the default workspace tree lookup operations.
Namespace
Drupal\workspacesCode
public function resetCache() {
$this->tree = NULL;
return $this;
}