Commit 3432ea3b authored by Jakob P's avatar Jakob P
Browse files

Issue #3300682 by japerry: add update hook to ensure cache is cleared when...

Issue #3300682 by japerry: add update hook to ensure cache is cleared when removing EntityBundleConstraint
parent 6c991196
Loading
Loading
Loading
Loading

ctools.post_update.php

0 → 100644
+15 −0
Original line number Diff line number Diff line
<?php

/**
 * @file
 * ctools updates once other modules have made their own updates.
 */

/**
 * Invalidate the service container to force EntityBundleConstriant is Removed.
 */
function ctools_post_update_remove_entitybundleconstraint() {
  // Reload the service container.
  $kernel = \Drupal::service('kernel');
  $kernel->invalidateContainer();
}