public function ViewUI::label in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::label()
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::label()
Gets the label of the entity.
Return value
string|\Drupal\Core\StringTranslation\TranslatableMarkup|null The label of the entity, or NULL if there is no label defined.
Overrides EntityInterface::label
File
- core/
modules/ views_ui/ src/ ViewUI.php, line 1011
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function label() {
return $this->storage
->label();
}