public function SearchApiPageBlock::blockSubmit in Search API Pages 8
Overrides BlockPluginTrait::blockSubmit
File
- src/
Plugin/ Block/ SearchApiPageBlock.php, line 108
Class
- SearchApiPageBlock
- Provides a 'Search Api page form' block.
Namespace
Drupal\search_api_page\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['search_api_page'] = $form_state
->getValue('search_api_page');
}