Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.2 KB

Rebuild Cache Access

composer require drupal/rebuild_cache_access

This module provides a new permission: rebuild cache access. Every role with this permission set will have a nice and big Rebuild Cache admin toolbar button. Clicking this button simply fires drupal_flush_all_caches(). That's all.

Note: Normally it should be sufficient that all relevant caches are flushed automatically when changes to content are made. Nevertheless in real world it sometimes may be necessary to have other roles than the ones with administer site configuration permission being able to rebuild the caches.

Rebuild cache toolbar button screenshot

Requirements

dependencies:
  - drupal:toolbar

Installation

Configuration

  • Configure the user permissions in Administration > People > Permissions:

    Rebuild Cache Access > Rebuild Cache