function charts_info in Charts 7.2
Same name and namespace in other branches
- 8 includes/charts.pages.inc \charts_info()
Retrieve a list of all charting libraries available.
See also
5 calls to charts_info()
- charts_examples in includes/
charts.examples.inc - Menu callback; Display all examples in the system.
- charts_pre_render_element in ./
charts.module - Main #pre_render callback to expand a chart element.
- charts_requirements in ./
charts.install - Implements hook_requirements().
- charts_settings_form in includes/
charts.pages.inc - Module settings page. Users can set the default layout of their charts.
- chart_get_library in ./
charts.module - Retrieve a specific chart library.
File
- ./
charts.module, line 275 - Provides elements for rendering charts and Views integration.
Code
function charts_info() {
$charts_info = array();
foreach (module_implements('charts_info') as $module) {
$module_charts_info = module_invoke($module, 'charts_info');
foreach ($module_charts_info as $chart_library => $chart_library_info) {
$module_charts_info[$chart_library]['module'] = $module;
}
$charts_info = array_merge($charts_info, $module_charts_info);
}
drupal_alter('charts_info', $charts_info);
return $charts_info;
}