function rebuild_cache_access_toolbar in Rebuild Cache Access 8
Implements hook_toolbar().
File
- ./
rebuild_cache_access.module, line 14  - This module adds a 'Rebuild Cache' permission and button to the toolbar.
 
Code
function rebuild_cache_access_toolbar() {
  return \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(ToolbarHandler::class)
    ->toolbar();
}