Commit 624947f9 authored by alexpott's avatar alexpott

Issue #1970060 by Bojhan, CrimbleCrumble: Simplify pager options help descriptions.

parent fcf74af5
......@@ -2721,7 +2721,7 @@ public function getArgumentText() {
public function getPagerText() {
return array(
'items per page title' => t('Items to display'),
'items per page description' => t('The number of items to display. Enter 0 for no limit.')
'items per page description' => t('Enter 0 for no limit.')
);
}
......
......@@ -57,8 +57,8 @@ public function buildOptionsForm(&$form, &$form_state) {
parent::buildOptionsForm($form, $form_state);
$form['offset'] = array(
'#type' => 'textfield',
'#title' => t('Offset'),
'#description' => t('The number of items to skip. For example, if this field is 3, the first 3 items will be skipped and not displayed.'),
'#title' => t('Offset (number of items to skip)'),
'#description' => t('For example, set this to 3 and the first 3 items will not be displayed.'),
'#default_value' => $this->options['offset'],
);
}
......
......@@ -54,8 +54,8 @@ public function buildOptionsForm(&$form, &$form_state) {
$form['offset'] = array(
'#type' => 'textfield',
'#title' => t('Offset'),
'#description' => t('The number of items to skip. For example, if this field is 3, the first 3 items will be skipped and not displayed.'),
'#title' => t('Offset (number of items to skip)'),
'#description' => t('For example, set this to 3 and the first 3 items will not be displayed.'),
'#default_value' => $this->options['offset'],
);
}
......
......@@ -54,8 +54,8 @@ public function buildOptionsForm(&$form, &$form_state) {
$form['offset'] = array(
'#type' => 'number',
'#title' => t('Offset'),
'#description' => t('The number of items to skip. For example, if this field is 3, the first 3 items will be skipped and not displayed.'),
'#title' => t('Offset (number of items to skip)'),
'#description' => t('For example, set this to 3 and the first 3 items will not be displayed.'),
'#default_value' => $this->options['offset'],
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment