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.
Install in the usual way:
composer install drupal/tidy_local_tasks
drush -y en tidy_local_tasks
To alter this module's CSS or JS:
- 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. - Change into the module's front_end directory.
- 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.