If you need a simple Views display switch to toggle e.g between a list and a grid display of a view, there are a couple of plug & play options already.
Blog
Simple Views display switch
Why forking Drupal into Backdrop is a bad thing
Please note the date of the article - it may not be current nor does it necessarily reflect the author's current opinion on the matter. See this comment.
The ability to fork is a wonderful thing.
In the open source community, the ability to fork software projects is a wonderful thing, as it allows taking a software snapshot in a completely different direction from what was intended by its current maintainers.
Prevent deletion of taxonomy term if associated with a node
Why check if term is associated to a node prior to deletion?
In cases where taxonomy terms are used only for categorizing content on a Drupal powered web page, there should be no harm in deleting them. However sometimes taxonomy is used to store terms critical to the content they are referenced from and in this case steps should be taken to prevent an accidental deletion.