You are here

public function SearchLocalTask::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Derivative

Code

public function __construct(SearchPageRepositoryInterface $search_page_repository) {
  $this->searchPageRepository = $search_page_repository;
}