public function SaveSearch::setFormBuilder in Search API Saved Searches 8
Sets the form builder.
Parameters
\Drupal\Core\Form\FormBuilderInterface $form_builder: The new form builder.
Return value
$this
File
- src/
Plugin/ Block/ SaveSearch.php, line 112
Class
- SaveSearch
- Displays the "Save search" form in a block.
Namespace
Drupal\search_api_saved_searches\Plugin\BlockCode
public function setFormBuilder(FormBuilderInterface $form_builder) {
$this->formBuilder = $form_builder;
return $this;
}