Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (22 loc) · 958 Bytes

README.md

File metadata and controls

24 lines (22 loc) · 958 Bytes

Introduction

Uses mostly CSS and a little jQuery to clean up Drupal's local tasks (the "View," "Edit," "Revisions," etc. tabs you see when logged in as someone with editorial permissions) by hiding them under a button that sticks to the side of the viewport.

Installation

Install in the usual way:

composer install drupal/tidy_local_tasks
drush -y en tidy_local_tasks

Development

To alter this module's CSS or JS:

  1. Ensure that you're using npm 16. You can do this by installing the nvm utility -- see the install instructions if which nvm doesn't turn it up on your machine.
  2. Change into the module's front_end directory.
  3. Type either:
    • npm run watch. Your changes to the module's CSS and JS should start getting compiled, in dev mode, on the fly.
    • npm run build. CSS/JS changes will be compiled once, in production mode.