The solution can be helpful, for example, in case, if you received the mail and see that only one module was updated and this module uses on admin interface only and nothing critical for the visitors and updating can wait. So you shouldn't spend time in opening the site for checking.
8.x-x.x
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.
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 or you needed in the more complex pattern? You can implement it programmatically. I going to show how to fix it very quickly.
Getting acquainted with Drupal Console
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.
While Replicating Nodes using Replicate and Replicate UI Module, I found that the module will publish a node immediately after replication. What I would like is when it is replicated the replicated (cloned) node opens in edit mode so that a content manager can make the necessary changes before publishing it.
Drupal 8 & 9: Creating modal windows (pop-ups) with a form and to send a mail programmatically
Modal windows/dialog (AKA pop-ups) are great and provide a great experience for the end user - they allow for a quick display of content in an overlay without navigating to another page. Fortunately, it’s relatively straightforward to implement in Drupal 8.
Here's how to do it with an entity builder callback without any additional contrib module like "Automatic Entity Label" or "Automatic Nodetitles", using only Drupal core functionality.
Youtube: Fluid Width Video
You can make YouTube videos responsive with CSS. Wrap the iframe in a div with the class of "youtube-container" and apply the styles.