public function TestSearchPage::label in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage::label()
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
Overrides Entity::label
File
- core/
modules/ search/ tests/ src/ Unit/ SearchPageRepositoryTest.php, line 281 - Contains \Drupal\Tests\search\Unit\SearchPageRepositoryTest.
Class
Namespace
Drupal\Tests\search\UnitCode
public function label($langcode = NULL) {
return $this->label;
}