public function FieldPluginBase::label

Get this field's label.

2 calls to FieldPluginBase::label()

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 191
Definition of Drupal\views\Plugin\views\field\FieldPluginBase.

Class

FieldPluginBase
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

public function label() {
  if (!isset($this->options['label'])) {
    return '';
  }
  return $this->options['label'];
}