In this previous blog entry you learned how to modify the node title itself. Here's how you can, for example for SEO purpose, modify the HTML page title of a node. You may for example add prefix or suffix text: function YOURMODULE_node_view
Did you ever need to modify a Drupal 7 CMS node title, for example for SEO purpose? Here's a simple trick with a hook to use the node title and modify it, prepend or append text to the user entered title before output: function YOURMODULE
For my blog Drupal 6 to Drupal 9 Upgrade I finally needed to migrate regular image fields to media fields. I first tried https://www.drupal.org/project/migrate_file_to_media but wasn't really happy and successful with that. Lots of problems
Did you ever switch a Drupal Form API element from "select" to "radios" and expect it would behave equally? You're wrong! Here's (sadly) why...
For a Drupal 8 EU Cookie Compliance patch I needed a way to add an anchor link as default menu item programmatically in .menu.yml
If you should run into the same situation, that you'd like to delete a view programmatically, for example on module uninstall, here you go
Since I needed some time to find out how to change the user profile tabs title and page title, I'd like to share that information with you.
It's not an untypical situation: You'd like to use an existing Drupal CMS form as base for a custom form under a separate URL. In our example case we will decorate the Registration form "user_register_form" and create a separate registration form under a separate URL. This might be a custom alternative to modules like https://www.drupal.org/project/multiple_registration if they don't match your requirements.
If you'd like to output Drupal 8 Media file size (mapper field) output in human-readable format, this snippet may help you!