Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPENEUROPA-2147: Hotfix regarding changes in service. #84

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

sergepavle
Copy link
Member

OPENEUROPA-2147

Description

[Insert description here]

Change log

  • Added:
  • Changed:
  • Deprecated:
  • Removed:
  • Fixed:
  • Security:

Commands

[Insert commands here]

oe_multilingual.post_update.php Outdated Show resolved Hide resolved
@sergepavle sergepavle force-pushed the OPENEUROPA-2147-hotfix branch from 64d18a2 to 07feba6 Compare August 26, 2019 09:49
* oe_multilingual.local_translations_batcher service.
*/
function oe_multilingual_post_update_00001_invalidate_containers_cache(): void {
\Drupal::service('kernel')->invalidateContainer();
Copy link
Member

@ademarco ademarco Aug 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be what core does too 👍

/**
 * Rebuild the container as services changed.
 */
function language_update_8001() {
  \Drupal::service('kernel')->invalidateContainer();
}

@upchuk upchuk merged commit 4ddab4f into master Aug 26, 2019
@upchuk upchuk deleted the OPENEUROPA-2147-hotfix branch August 26, 2019 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants