function TestSearchPage::label

Same name and namespace in other branches
  1. 9 core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage::label()
  2. 8.9.x core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage::label()
  3. 10 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 321

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.