function ViewExecutable::buildTitle

Same name in other branches
  1. 9 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::buildTitle()
  2. 8.9.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::buildTitle()
  3. 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::buildTitle()

Forces the view to build a title.

File

core/modules/views/src/ViewExecutable.php, line 1923

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function buildTitle() {
    $this->initDisplay();
    if (empty($this->built)) {
        $this->initQuery();
    }
    $this->initHandlers();
    $this->_buildArguments();
}

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