You are here

public function SaveSearch::blockSubmit in Search API Saved Searches 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/SaveSearch.php, line 198

Class

SaveSearch
Displays the "Save search" form in a block.

Namespace

Drupal\search_api_saved_searches\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $this->configuration['type'] = $form_state
    ->getValue('type');
}