You are here

function charts_requirements in Charts 8

Same name and namespace in other branches
  1. 8.4 charts.install \charts_requirements()
  2. 8.3 charts.install \charts_requirements()
  3. 6 charts.install \charts_requirements()
  4. 7.2 charts.install \charts_requirements()
  5. 7 charts.install \charts_requirements()
  6. 5.0.x charts.install \charts_requirements()

Implements hook_requirements().

File

./charts.install, line 10
Install and update functions for the Charts module.

Code

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;
}