This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

THIS FORUM IS NOT FOR "What module..." or module support questions-- it's for module development and code related questions.

The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.

Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.

Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.

  • If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
  • If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
  • If you don't have drupal installed yet, please place your questions in the Before you start forum.

Watzap +48780908943 – Biowood Pellet OLX, oferta w Przemyślu

Watzap +48780908943 – Biowood Pellet OLX, oferta w Przemyślu

w e e d shop nearby in Brisbane (Tele-grm @Forum13)

Bulimba w e e d shop near me in brisbane Australia. (SigNaL iD// bill.68)

w e e d d-i-s-p-e-n-s-a-r-y near me now open in Perth (Signal id /F2F.75)

City Beach perth Australia d i s p e n s a r y open now. (Signal id /F2F.75)
 

How to tell if hook_post_update_NAME function was previously executed?

I maintain a module and for its new release I want to display a message about an important change in the release. For this, I am relying on having a new hook_post_update_NAME function in the new release to display the message but only if the function has not been run in the past.

The function myModule_post_update_notify in file myModule.post_update.php has this content:

$existing_updates = \Drupal::keyValue('post_update')->get('existing_updates');

Maintenance mode: how it gets enabled, and is there any audit trail?

Three questions about Drupal:

1. What mechanisms exist to put a site into maintenance mode?
   I know the UI and drush — is there a complete list?

2. Where can I check who enabled it? 

3. Is it expected that, after leaving maintenance mode, a site
   sees a burst of requests and a jump in database server memory?

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions