function TestSearchPage::label

Same name in other branches
  1. 8.9.x core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage::label()
  2. 10 core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage::label()
  3. 11.x core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage::label()

Overrides EntityBase::label

File

core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php, line 285

Class

TestSearchPage

Namespace

Drupal\Tests\search\Unit

Code

public function label($langcode = NULL) {
    return $this->label;
}

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