class TestSearchPage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage
- 9 core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php \Drupal\Tests\search\Unit\TestSearchPage
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTrait
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
- class \Drupal\search\Entity\SearchPage implements EntityWithPluginCollectionInterface, SearchPageInterface
- class \Drupal\Tests\search\Unit\TestSearchPage
- class \Drupal\search\Entity\SearchPage implements EntityWithPluginCollectionInterface, SearchPageInterface
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
Expanded class hierarchy of TestSearchPage
File
- core/
modules/ search/ tests/ src/ Unit/ SearchPageRepositoryTest.php, line 277 - Contains \Drupal\Tests\search\Unit\SearchPageRepositoryTest.
Namespace
Drupal\Tests\search\UnitView source
class TestSearchPage extends SearchPage {
public function __construct(array $values) {
foreach ($values as $key => $value) {
$this->{$key} = $value;
}
}
public function label($langcode = NULL) {
return $this->label;
}
}