charts_blocks.module in Charts 5.0.x
Same filename and directory in other branches
Contains chart_block_example.module.
File
modules/charts_blocks/charts_blocks.moduleView source
<?php
/**
* @file
* Contains chart_block_example.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function charts_blocks_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the charts_blocks module.
case 'help.page.charts_blocks':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Create Charts blocks without the need for Views.') . '</p>';
return $output;
default:
}
}
Functions
Name | Description |
---|---|
charts_blocks_help | Implements hook_help(). |