diff --git a/charts.inc b/charts.inc index 167b508fbb9bbbf466251825381d4ee45cb9b763..0497151e174b13fefb495f63c1786906f51dbb75 100644 --- a/charts.inc +++ b/charts.inc @@ -150,14 +150,14 @@ function _charts_settings($form_state) { '#value' => _charts_example(), ); - $options = module_invoke_all('chartsinfo', 'list'); + $options = module_invoke_all('charts_info', 'list'); $form['plugin'] = array( '#default_value' => empty($settings['#plugin']) ? '' : $settings['#plugin'], '#options' => $options, '#type' => 'select', '#title' => t('Chart plugin'), ); - $options = _charts_module_invoke_all('chartsinfo', 'charttypes'); + $options = _charts_module_invoke_all('charts_info', 'charttypes'); asort($options); $form['type'] = array( '#default_value' => empty($settings['#type']) ? '' : $settings['#type'], diff --git a/charts.module b/charts.module index fc58b758aff266b7373af1b09e2b4221be61d3dc..d7d3944b88159208cc95b9fc08ff3fda6ece50b7 100644 --- a/charts.module +++ b/charts.module @@ -96,7 +96,7 @@ function charts_menu() { * Implementation of hook_requirements(). */ function charts_requirements($phase) { - if ($phase == 'runtime' and !$modules = module_invoke_all('chartsinfo', 'list')) { + if ($phase == 'runtime' and !$modules = module_invoke_all('charts_info', 'list')) { $requirements['charts']['title'] = t('Charts'); $requirements['charts']['value'] = t('No Charts provider installed'); $requirements['charts']['severity'] = REQUIREMENT_ERROR; diff --git a/fusioncharts/fusioncharts.module b/fusioncharts/fusioncharts.module index e27252f6ba370f3ec1f07b6eda5722584b35e931..ca4def1cf9c33c5673096835735f530f031c834f 100644 --- a/fusioncharts/fusioncharts.module +++ b/fusioncharts/fusioncharts.module @@ -15,7 +15,7 @@ * of a chart provider, like its name, what types of charts * it can perform and what are the restrictions. */ -function fusioncharts_chartsinfo($op) { +function fusioncharts_charts_info($op) { switch ($op) { case 'list': return array('fusioncharts' => 'FusionCharts'); diff --git a/google_charts/google_charts.module b/google_charts/google_charts.module index c48451cfeacb1eb6fec48ad5e175545b5eb2a5ac..cb5c2bb1014e91f91f1c5e23ed1cc111191b28d2 100644 --- a/google_charts/google_charts.module +++ b/google_charts/google_charts.module @@ -15,7 +15,7 @@ * of a chart provider, like its name, what types of charts * it can perform and what are the restrictions. */ -function google_charts_chartsinfo($op) { +function google_charts_charts_info($op) { switch ($op) { case 'list': return array('google_charts' => 'Google Chart API'); diff --git a/openflashchart/openflashchart.module b/openflashchart/openflashchart.module index 0d176922db2c3598559abb5be730b427666fbf38..5d69304a4452b96745b743d3204491d31364c1bd 100644 --- a/openflashchart/openflashchart.module +++ b/openflashchart/openflashchart.module @@ -15,7 +15,7 @@ * of a chart provider, like its name, what types of charts * it can perform and what are the restrictions. */ -function openflashchart_chartsinfo($op) { +function openflashchart_charts_info($op) { switch ($op) { case 'list': return array('openflashchart' => 'Open Flash Chart');