function accordions_help in Accordions 7
Implements hook_help().
File
- ./
accordions.module, line 11
Code
function accordions_help($path, $arg) {
switch ($path) {
case 'admin/help#accordions':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>';
$output .= t('Various types of content, such as blocks, can be displayed with an accordion-like behaviour. Items in accordion groups will initially appear \'collapsed\' with only their titles showing. Clicking an item\'s title will \'expand\' that item to show its whole content, and collapse any other accordion items in the same group.');
$output .= '</p>';
$output .= '<h3>' . t('Usage instructions') . '</h3>';
$output .= '<p>';
$output .= t('First, <a href="!url">configure the allowed types of accordion</a>, then edit/configure those types of content (for example, configure a block) and set the accordion group name to be used for that item.', array(
'!url' => url('admin/config/user-interface/accordions'),
));
$output .= '</p>';
return $output;
}
}