You are here

function apps_demo_content_disable in Apps 7

Disables the app's demo content module

Parameters

$app array: an app array:

Return value

bool if the module was disabled

1 string reference to 'apps_demo_content_disable'
apps_add_app_info in ./apps.manifest.inc
@TODO: Add function description

File

./apps.manifest.inc, line 638
Handles pulling and processing of app data from the server

Code

function apps_demo_content_disable($app) {
  $success = module_disable(array(
    $app['demo content module'],
  ));
  drupal_flush_all_caches();
  return !apps_demo_content_enabled($app);
}