During a migration of the content and testing the functionality, we are playing a lot with adding/removing menu items for nodes. Here's a snippet on how to delete all links in a menu.
Make Drupal Easy
Sometimes we need to completely remove all nodes, for example, when you copy a site for another project. Here the examples.
Drupal (any version): How to make "Back To Top" functionality with own theme in five minutes
Very often when developing or maintaining a site, clients ask me to create functionality in the footer that will scroll the page to the top. I know this can be done with the helpful and wonderful Back To Top module, but I am the person who tries to have as few enabled contrib modules as possible on the site and save time on support in case a new version of the module appears. In my short article, I will show how to make similar functionality in 5 minutes.
Sometimes we need to completely remove redirect entities, for example, when you copy a site for another project. Here are two examples.
Sometimes we need to completely remove paragraphs entities, for example, when you copy a site for another project. Here are two examples.
Sometimes we need to completely remove media entities, for example, when you copy a site for another project. Here are two examples.
How override/customize/theme Drupal Views Exposed Filters form with a custom Twig template? Easy! Real working tutorial. Step by step in 5 mins.
When in front of me there was a task to make the site with specific breadcrumbs for specific pages, I applied a very simple and quick solution without the contrib modules. Just a few simple PHP lines in the custom module.
Working on one project for the KWALL company, we needed to sort the list of TV programs/events by time ignoring the date. We have created a custom views sort plugin for it.
By using layout plugin we can easy to create own layouts for node add/edit forms. In this article a brief instruction on how to create a custom layout for the form.