function organigrams_help in Organigrams 7
Same name and namespace in other branches
- 8.2 organigrams.module \organigrams_help()
- 8 organigrams.module \organigrams_help()
Implements hook_help().
File
- ./
organigrams.module, line 892 - Defines the organigrams functions and entity types.
Code
function organigrams_help($path, $arg) {
switch ($path) {
case 'admin/structure/organigrams':
$help = t('Organigrams represent visualizations of hierarchies in organizations. An organigram contains multiple items which can be related in various ways to each other.');
$help .= '<p>';
$help .= t('Organigrams have multiple display options:');
$help .= '<ol>';
$help .= '<li>' . t('<strong>Dedicated page</strong><br />A dedicated page is available at <i>/organigram/%machine_name</i>.') . '</li>';
$help .= '<li>' . t('<strong>Block</strong><br />The organigram blocks can be found in the !block_list.', array(
'!block_list' => l(t('block list'), 'admin/structure/block'),
)) . '</li>';
$help .= '<li>' . t('<strong>Token</strong> (requires <a href="@token_filter">Token filter</a>)<br />Tokens can be used to insert organigrams in content fields. The token names are displayed beneath the names in this list and look like this: <i>[organigrams:%machine_name]</i>. Just copy and paste this token in your content to insert the organigram.', array(
'@token_filter' => 'https://www.drupal.org/project/token_filter',
)) . '</li>';
$help .= '</ol></p>';
return '<p>' . $help . '</p>';
}
}