Get this field's label.
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 187
- 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'];
}