You are here

public function HandlerBase::adminLabel in Views (for Drupal 7) 8.3

Return a string representing this handler's name in the UI.

8 calls to HandlerBase::adminLabel()
AreaPluginBase::label in lib/Drupal/views/Plugin/views/area/AreaPluginBase.php
Get this area's label.
FieldPluginBase::adminLabel in lib/Drupal/views/Plugin/views/field/FieldPluginBase.php
Return a string representing this handler's name in the UI.
GroupByNumeric::adminLabel in lib/Drupal/views/Plugin/views/sort/GroupByNumeric.php
Return a string representing this handler's name in the UI.
GroupByNumeric::adminLabel in lib/Drupal/views/Plugin/views/argument/GroupByNumeric.php
Return a string representing this handler's name in the UI.
GroupByNumeric::adminLabel in lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php
Return a string representing this handler's name in the UI.

... See full list

9 methods override HandlerBase::adminLabel()
Broken::adminLabel in lib/Drupal/views/Plugin/views/area/Broken.php
Return a string representing this handler's name in the UI.
Broken::adminLabel in lib/Drupal/views/Plugin/views/relationship/Broken.php
Return a string representing this handler's name in the UI.
Broken::adminLabel in lib/Drupal/views/Plugin/views/filter/Broken.php
Return a string representing this handler's name in the UI.
Broken::adminLabel in lib/Drupal/views/Plugin/views/sort/Broken.php
Return a string representing this handler's name in the UI.
Broken::adminLabel in lib/Drupal/views/Plugin/views/argument/Broken.php
Return a string representing this handler's name in the UI.

... See full list

File

lib/Drupal/views/Plugin/views/HandlerBase.php, line 163
Definition of Drupal\views\Plugin\views\HandlerBase.

Class

HandlerBase

Namespace

Drupal\views\Plugin\views

Code

public function adminLabel($short = FALSE) {
  if (!empty($this->options['admin_label'])) {
    $title = check_plain($this->options['admin_label']);
    return $title;
  }
  $title = $short && isset($this->definition['title short']) ? $this->definition['title short'] : $this->definition['title'];
  return t('!group: !title', array(
    '!group' => $this->definition['group'],
    '!title' => $title,
  ));
}