You are here

public function SearchApiPageBlockForm::__construct in Search API Pages 8

Constructs a new SearchBlockForm.

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

\Drupal\Core\Entity\EntityStorageInterface $pageStorage: The search API page storage

File

src/Form/SearchApiPageBlockForm.php, line 58

Class

SearchApiPageBlockForm
Builds the search form for the search api page block.

Namespace

Drupal\search_api_page\Form

Code

public function __construct(LanguageManagerInterface $language_manager, RendererInterface $renderer, EntityStorageInterface $pageStorage) {
  $this->languageManager = $language_manager;
  $this->renderer = $renderer;
  $this->pageStorage = $pageStorage;
}