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
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, which seems to have some problems / flaws with such cases, as the following issues show:
Szenario Wir wollen testen, ob das beliebte Atlassian Jira auch auf einem Hetzner Managed Server betrieben werden kann. Um das Leistungs-Minimum zu testen, haben wir uns für einen VSERVER MC40 entschieden. Vorarbeiten
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
Short snippet to use for a cronjob to call a url if you don't want any output...
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.