You are here

public function FixedBlockContentBlock::blockSubmit in Fixed Block Content 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/FixedBlockContentBlock.php, line 111

Class

FixedBlockContentBlock
Provides a fixed content block placement.

Namespace

Drupal\fixed_block_content\Plugin\Block

Code

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