charts.install in Charts 8
Same filename and directory in other branches
Install and update functions for the Charts module.
File
charts.installView source
<?php
/**
* @file
* Install and update functions for the Charts module.
*/
/**
* Implements hook_requirements().
*/
function charts_requirements($phase) {
$requirements = array();
// if ($phase == 'runtime' && !charts_info()) {
/* $requirements['charts'] = array(
'title' => t('Charts'),
'value' => t('No Charts provider installed'),
'severity' => REQUIREMENT_ERROR,
'description' => t('Charts core module only provides a a common set of functions. You must install a Charts provider module to create charts.'),
);*/
// }
return $requirements;
}
Functions
Name | Description |
---|---|
charts_requirements | Implements hook_requirements(). |