function equalheights_menu in Equal Heights jQuery 7.2
Same name and namespace in other branches
- 6 equalheights.module \equalheights_menu()
- 7 equalheights.module \equalheights_menu()
Implements hook_menu().
File
- ./
equalheights.module, line 106 - Adds a jQuery plugin that sets the elements you specify to the same height.
Code
function equalheights_menu() {
$description = t('Add CSS classes that you need to be of equal height, without a leading period (\'.\').<br />');
$description .= t('You can optionally set minimum and maximum height, overflow value. ');
$description .= t('(<a href="@about">Read more about the plugin.</a>) ', array(
'@about' => 'http://www.cssnewbie.com/equalheights-jquery-plugin/',
));
$items = array();
$items['admin/config/development/equalheights'] = array(
'title' => 'Equal Heights',
'description' => 'Configure elements with equal heights.',
'access arguments' => array(
'administer site configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'equalheights_admin',
),
'file' => 'equalheights.admin.inc',
);
return $items;
}