You are here

function service_container_modules_enabled in Service Container 7.2

Same name and namespace in other branches
  1. 7 service_container.module \service_container_modules_enabled()

Implements hook_modules_enabled().

File

./service_container.module, line 22
Main module file for the service_container module.

Code

function service_container_modules_enabled() {
  if (class_exists('ServiceContainer')) {
    ServiceContainer::reset();
    ServiceContainer::init();
  }
}