public function PluginBase::pluginTitle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::pluginTitle()
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::pluginTitle()
File
- core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 319
Class
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'];
}