How to reload the page after a successful Drupal AJAX Form submit? You many run into this question, for example, if you're using complex AJAX Forms and as a result so many things change, that you need to reload the current page or form
Drupal
Knowing the old logics from Drupal 7, where you could place a "translations" folder into your custom modules, containing the language .po files, the situation is a bit different for Drupal 8+: You can find the related information (bit
As it sadly took me some time to find out and it's not very well documented, here's how you close a Drupal 8+ dialog (in this case the Off-Canvas) using JavaScript: Drupal.dialog(document.getElementById('drupal-off-canvas')).close(); You
Adding a captcha to a Drupal Commerce Checkout step isn't as simple as expected, as adding it via "Captcha points" shows the captcha on any Checkout step. So you need to add a little snippet in a custom module instead: /** * Implements hook
Altering a Layout Paragraphs paragraph create / edit form sounds easy and it indeed is, but you have to know, which hook to use. To make it easier for you, here's how: Use hook_form_layout_paragraphs_component_form_alter() which can be
Dir hat dieser Beitrag Zeit und viele Nerven gespart?
Dann würde ich mich sehr über einen leckeren Kaffee freuen! Oder ein spannendes Tech-Buch aus meiner Wunschliste?