public function PluginBase::pluginTitle in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::pluginTitle()
Return the human readable name of the display.
This appears on the ui beside each plugin and beside the settings link.
Overrides ViewsPluginInterface::pluginTitle
File
- core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 320
Class
- PluginBase
- Base class for any views plugin types.
Namespace
Drupal\views\Plugin\viewsCode
public function pluginTitle() {
// Short_title is optional so its defaults to an empty string.
if (!empty($this->definition['short_title'])) {
return $this->definition['short_title'];
}
return $this->definition['title'];
}