Here are some useful twig snippets that are very useful every now and then // Returns the rendered url of an internal or external link field {% set field_url = node.field_url.get(0).getUrl().toString() %} php theme twig
22 March 2023 ajax Drupal 9: Add a modal with specific node display-view mode from a custom route and how to modify the modal box properties 12 March 2023 drupal Bulk deleting entities with drush 14 February 2023 form Drupal: Adding validation for nested form elements 16 February 2023 drush Drush: Re-installing (reload) the install config for a specific module 06 February 2023 php Drupal: Remove HTML Markup with PHP 25 January 2023 twig Drupal 9 twig: How to tell that a region is indeed empty
12 March 2023 drupal Bulk deleting entities with drush 14 February 2023 form Drupal: Adding validation for nested form elements 16 February 2023 drush Drush: Re-installing (reload) the install config for a specific module 06 February 2023 php Drupal: Remove HTML Markup with PHP 25 January 2023 twig Drupal 9 twig: How to tell that a region is indeed empty
14 February 2023 form Drupal: Adding validation for nested form elements 16 February 2023 drush Drush: Re-installing (reload) the install config for a specific module 06 February 2023 php Drupal: Remove HTML Markup with PHP 25 January 2023 twig Drupal 9 twig: How to tell that a region is indeed empty
16 February 2023 drush Drush: Re-installing (reload) the install config for a specific module 06 February 2023 php Drupal: Remove HTML Markup with PHP 25 January 2023 twig Drupal 9 twig: How to tell that a region is indeed empty
06 February 2023 php Drupal: Remove HTML Markup with PHP 25 January 2023 twig Drupal 9 twig: How to tell that a region is indeed empty