This article shows an easy and quick way how to add Star Ratings in Google Search Results. The basic configuration of the required modules and the necessary custom code is provided.
When you use the "pathauto" module, and want to make the node's URL depends on your custom field you can create a pattern using a token, however, what can you do if the field is boolean and you want to make a human path? In this case, you can implement it programmatically. I going to show how to fix it very quickly.
The Drupal console makes use of the Symfony console and other third-party components that automatically generate most of the code needed for the Drupal 8 module. In addition to this, the console allows you to interact with your Drupal project.
This helpful article shows how programmatically restricts an access to individual pages of a site without using heavy modules and using only one field and a few lines of the code.