tweaks

menu items

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.

nodes

Sometimes we need to completely remove all nodes, for example, when you copy a site for another project. Here the examples.

Social Icons

Social media is an extremely valuable tool for promoting your marketing content. However, with so many social networks providing their own individual content sharing and follow buttons, it's often difficult to know which social media button to use for what purpose.

Drupal Redirects

Sometimes we need to completely remove redirect entities, for example, when you copy a site for another project. Here are two examples.

drupal paragraphs

Sometimes we need to completely remove paragraphs entities, for example, when you copy a site for another project. Here are two examples.

drupal entities

Sometimes we need to completely remove media entities, for example, when you copy a site for another project. Here are two examples.

Views Exposed Filters Form with custom Twig template

How override/customize/theme Drupal Views Exposed Filters form with a custom Twig template? Easy! Real working tutorial. Step by step in 5 mins.

drupal 8 custom breadcrumbs

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.

Drupal: Custom Form Layouts

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.

Site's administrators

Here is a very quick and simple example of how to create a user/administrator programmatically on any Drupal 8 website. This tweak is very useful when the client has provided a site for support but forgot or did not have the opportunity to create an admin account for you.