Skip to content
Snippets Groups Projects
Commit a0a5b228 authored by Nathan Haug's avatar Nathan Haug
Browse files

Issue #942684 by pillarsdotnet: Fix charts breakage due to #497118: Remove...

Issue #942684 by pillarsdotnet: Fix charts breakage due to #497118: Remove registry (for functions).
parent 4d39c1e2
No related branches found
No related tags found
No related merge requests found
...@@ -24,9 +24,10 @@ function charts_chart_types() { ...@@ -24,9 +24,10 @@ function charts_chart_types() {
* Implementation of hook_menu(). * Implementation of hook_menu().
*/ */
function charts_menu() { function charts_menu() {
$items['admin/settings/charts'] = array( $items['admin/config/content/charts'] = array(
'access arguments' => array('set default settings for charts'), 'access arguments' => array('set default settings for charts'),
'description' => 'Set the default behaviour and look of all your charts', 'description' => 'Set the default behaviour and look of all your charts',
'file' => 'charts.admin.inc',
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('_charts_settings_page'), 'page arguments' => array('_charts_settings_page'),
'title' => 'Charts' 'title' => 'Charts'
......
core = "7.x" core = "7.x"
description = "Transform DATA into INFORMATION using beautiful CHARTS." description = "Transform DATA into INFORMATION using beautiful CHARTS."
files[] = charts.module
files[] = charts.admin.inc
files[] = charts.inc
files[] = charts.hooks.inc
files[] = charts.install
name = "Charts" name = "Charts"
package = "Charts" package = "Charts"
php = 5.2 php = 5.2
\ No newline at end of file
...@@ -37,7 +37,7 @@ function charts_requirements($phase) { ...@@ -37,7 +37,7 @@ function charts_requirements($phase) {
$requirements['charts']['title'] = t('Charts'); $requirements['charts']['title'] = t('Charts');
$requirements['charts']['value'] = t('Charts module not yet configured'); $requirements['charts']['value'] = t('Charts module not yet configured');
$requirements['charts']['severity'] = REQUIREMENT_ERROR; $requirements['charts']['severity'] = REQUIREMENT_ERROR;
$requirements['charts']['description'] = t('Charts core module needs to get some default options in order to operate. You must go to <a href="!link">settings page</a> and configure it.', array('!link' => url('admin/settings/charts'))); $requirements['charts']['description'] = t('Charts core module needs to get some default options in order to operate. You must go to <a href="!link">settings page</a> and configure it.', array('!link' => url('admin/config/content/charts')));
} }
if (isset($requirements)) { if (isset($requirements)) {
......
core = "7.x" core = "7.x"
dependencies[] = charts dependencies[] = charts
description = "Use Google Charts on your site." description = "Use Google Charts on your site."
files[] = google_charts.inc
files[] = google_charts.hooks.inc
name = "Google" name = "Google"
package = "Charts" package = "Charts"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment