public function HandlerBase::adminLabel

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

6 calls to HandlerBase::adminLabel()
9 methods override HandlerBase::adminLabel()

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php, line 158
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,
  ));
}