public function FieldPluginBase::label in Views (for Drupal 7) 8.3
Get this field's label.
2 calls to FieldPluginBase::label()
- FieldPluginBase::adminSummary in lib/
Drupal/ views/ Plugin/ views/ field/ FieldPluginBase.php - Provide extra data to the administration form
- FieldPluginBase::buildOptionsForm in lib/
Drupal/ views/ Plugin/ views/ field/ FieldPluginBase.php - Default options form that provides the label widget that all fields should have.
File
- 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\fieldCode
public function label() {
if (!isset($this->options['label'])) {
return '';
}
return $this->options['label'];
}