You are here

function hook_apps_app_modules_enabled in Apps 7

Called each time an app module is enabled.

This hook is called from hook_modules_enabled when an app is enabled. Not that the app array may be missing keys/information (due to performance considerations).

2 functions implement hook_apps_app_modules_enabled()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

og_apps_app_modules_enabled in ./apps.module
Implements hook_apps_app_modules_enabled().
user_apps_app_modules_enabled in ./apps.module
Implements hook_apps_app_modules_enabled().
1 invocation of hook_apps_app_modules_enabled()
apps_modules_enabled in ./apps.module
Implements hook_modules_enabled().

File

./apps.api.php, line 131
API documentation for the Apps module.

Code

function hook_apps_app_modules_enabled($app) {
  if (!empty($app['something'])) {
    mymodule_something($app);
  }
}