function ctools_post_update_remove_entitybundleconstraint

Invalidate the service container to force EntityBundleConstriant is Removed.

File

./ctools.post_update.php, line 11

Code

function ctools_post_update_remove_entitybundleconstraint() {
    // Reload the service container.
    $kernel = \Drupal::service('kernel');
    $kernel->invalidateContainer();
}