function apps_demo_content_enable in Apps 7
Enables the app's demo content module
Parameters
$app array: an app array:
Return value
bool if the module was enabled
1 string reference to 'apps_demo_content_enable'
- apps_add_app_info in ./
apps.manifest.inc - @TODO: Add function description
File
- ./
apps.manifest.inc, line 625 - Handles pulling and processing of app data from the server
Code
function apps_demo_content_enable($app) {
$success = module_enable(array(
$app['demo content module'],
));
drupal_flush_all_caches();
return $success;
}