You are here

charts.install in Charts 8

Install and update functions for the Charts module.

File

charts.install
View 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

Namesort descending Description
charts_requirements Implements hook_requirements().