public function SimpleSearchFormLazyBuilder::__construct in Simple search form 8
Constructs a new SimpleSearchFormLazyBuilder object.
Parameters
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder service.
File
- src/
SimpleSearchFormLazyBuilder.php, line 28
Class
- SimpleSearchFormLazyBuilder
- Service for build a simple search form.
Namespace
Drupal\simple_search_formCode
public function __construct(FormBuilderInterface $form_builder) {
$this->formBuilder = $form_builder;
}