Now and then I run into the case where I need to only get the values from a render array, but not the properties prefixed with a hash (#). As I tend to forget the name of the helper methods needed to filter these render arrays, here's my
Welcome to my Blog, happy reading! ツ
Should you have (the same) language neutral content in modern Drupal available under several URL prefixes, this will probably be considered duplicate content. Example: https://www.example.com/forum/abc/my-custom-topic https://www.example
Adding a simple "Cancel" button to a form, which points to a route is easy, but you have to know how: $form['actions']['cancel'] = [ '#type' => 'link', '#title' => t('Cancel'), '#attributes' => [ 'class' => [ 'button', 'button--danger',
Defining a proper Schema for a custom field Type in Drupal 8+ doesn't seem to be very well documented yet. Luckily, the core gives us some good examples to start from. For that reason, you should have a look into the core modules that
When developing custom modules for Drupal, translating the user interface strings can not benefit from the localize.drupal.org infrastructure, like for contrib modules. So you need a way to provide these UI translations in your custom
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.