public function SearchLocalTask::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/search/src/Plugin/Derivative/SearchLocalTask.php \Drupal\search\Plugin\Derivative\SearchLocalTask::__construct()
Constructs a new SearchLocalTask.
Parameters
\Drupal\search\SearchPageRepositoryInterface $search_page_repository: The search page repository.
File
- core/
modules/ search/ src/ Plugin/ Derivative/ SearchLocalTask.php, line 33 - Contains \Drupal\search\Plugin\Derivative\SearchLocalTask.
Class
- SearchLocalTask
- Provides local tasks for each search page.
Namespace
Drupal\search\Plugin\DerivativeCode
public function __construct(SearchPageRepositoryInterface $search_page_repository) {
$this->searchPageRepository = $search_page_repository;
}