How to implement hook form alter in Drupal
Learn how to use hook_form_alter and its variants in Drupal.
Although it is not recommended, it is possible to disable the cache of a custom block. You can use it, for example, when you are developing a custom block in your module and while you are making changes you want to reflect the changes by refreshing the page, avoiding having to clear Drupal caches.
In this snippet I show the different ways to display a block through code.
Save content that interests you, connect with others in the community, contribute to win prizes and much more.