You are here

public function BlockFieldAccessTestBlock::blockSubmit in Block field 8

Overrides BlockPluginTrait::blockSubmit

File

tests/modules/block_field_test/src/Plugin/Block/BlockFieldAccessTestBlock.php, line 45

Class

BlockFieldAccessTestBlock
Provides a 'Block field test access' block.

Namespace

Drupal\block_field_test\Plugin\Block

Code

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