You are here

public function VIBlock::blockSubmit in Visually Impaired Support (module) 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/VIBlock.php, line 96

Class

VIBlock
Provides a 'Visually Impaired' Block.

Namespace

Drupal\visually_impaired_module\Plugin\Block

Code

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