Drupal 8  8.0.2
SearchBlockForm Class Reference
Inheritance diagram for SearchBlockForm:

Public Member Functions

 __construct (SearchPageRepositoryInterface $search_page_repository, ConfigFactoryInterface $config_factory, RendererInterface $renderer)
 getFormId ()
 buildForm (array $form, FormStateInterface $form_state)
 submitForm (array &$form, FormStateInterface $form_state)

Static Public Member Functions

static create (ContainerInterface $container)

Protected Attributes


Detailed Description

Builds the search form for the search block.

Constructor & Destructor Documentation

__construct ( SearchPageRepositoryInterface  $search_page_repository,
ConfigFactoryInterface  $config_factory,
RendererInterface  $renderer 

Constructs a new SearchBlockForm.

\Drupal\search\SearchPageRepositoryInterface$search_page_repositoryThe search page repository.
\Drupal\Core\Config\ConfigFactoryInterface$config_factoryThe config factory.
\Drupal\Core\Render\RendererInterfaceThe renderer.

References Drupal\configFactory().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 


References Drupal\configFactory(), t(), and Drupal\url().

Here is the call graph for this function:

static create ( ContainerInterface  $container)


getFormId ( )


submitForm ( array &  $form,
FormStateInterface  $form_state 


The documentation for this class was generated from the following file: