You are here

public function Barcode::blockSubmit in Barcodes 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Block/Barcode.php \Drupal\barcodes\Plugin\Block\Barcode::blockSubmit()

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/Barcode.php, line 197

Class

Barcode
Provides a 'Barcode' block.

Namespace

Drupal\barcodes\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $values = $form_state
    ->getValues();
  $this
    ->setConfiguration($values);
}