Trying to figure out something that drush_language was already supporting.
I want to send all untranslated strings to production for translation before the actual code touches production.
For this reason I use drush_language to make these wonderful .po files with output similar to:
msgid "Exported translations for language @langcode to file @file."
msgstr ""
msgid "Export complete."
msgstr ""
msgctxt "tripping_context"
msgid "Show results for giannis"
I need to create forum containers and forums programmatically. I have reviewed Drupal 8’s API, https://api.drupal.org/api/drupal/core%21modules%21forum%21src%21Tests%2... , but they’re passing a reference of the current object. I’m not able to figure out where they’re getting that object from. Does anyone have insight on how to access the forum’s module from a custom module? I can probably figure out the rest from there.
When logged in user is coming on the website where maintenance mode is switched on he is logged out. I know this behaviour is intended and stored in Drupal\user\EventSubscriber\MaintenanceModeSubscriber , my question is - why is it so?
Why need to logout user that is visiting website in maintenance mode.