function 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 1027

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function label() {
  return $this->storage
    ->label();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.