I needed to get the node menu item title to display instead of the node title in a specific case and didn't find a quick solution, so I'd like to share it with you: Wondering how to get the nodes representing menu item? $nid = 12345; $node
Snippets
Encoding is hard in many cases. Today I ran into one, where we had to save UTF-8 data (from a Drupal website) into an XML document which requires ISO-8859-1 encoding. We're using https://www.php.net/manual/de/class.domdocument.php for that
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
Es kann in Shopware 5 aufgrund fehlender Validierung im Import / Export passieren, dass "defekte" Varianten angelegt werden. Also Varianten, denen die korrekte Zuordnung zu ihrem Elternartikel fehlt.
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
This post saved you a lot of time and headache?
Then I'd be very happy about a delicious coffee! Or a helpful book from my wish list.