function mb_cancel_button_positions in More Buttons 7
Provide the Cancel button position options.
Return value
array
5 calls to mb_cancel_button_positions()
- mb_comment_admin in mb_comment/
mb_comment.admin.inc - Provides the central MB Content settings form.
- mb_comment_form_alter in mb_comment/
mb_comment.module - Implements hook_form_alter().
- mb_content_admin in mb_content/
mb_content.admin.inc - Provides the central MB Content settings form.
- mb_content_form_alter in mb_content/
mb_content.module - Implements hook_form_alter().
- mb_user_admin in mb_user/
mb_user.admin.inc - Provides the MB User settings form.
File
- mb/
mb.module, line 287 - The More Buttons (MB) module allows to use additional buttons with Drupal.
Code
function mb_cancel_button_positions() {
return array(
0 => t('None'),
1 => t('Left'),
2 => t('Right'),
);
}