Articles

Drupal media and image style

Retrieving the image URL from an image field in Drupal 8 and 9 seemed pretty straightforward too. Even the solution for getting the image style URL from a simple image field can be found quite easily. Getting the image URL from a media field can also be looked up easily.

The example/result of "Update Manager Advanced" module

The "Update Manager Advanced" module modifies the Drupal "Available updates" email report to include the information normally shown at /admin/reports/updates/update, with links to the module updates and their release notes description.

composer

Since starting from Drupal v8.8.0 has removed the Wikimedia merge plugin and replaced it with a Composer 'path' repository, a native Composer feature which serves the same needs as the merge plugin with fewer disadvantages, in this short article, I want to show how to manage dependencies for a custom project.

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.