You are here

public function PrintLinks::blockSubmit in Entity Print 8.2

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/PrintLinks.php, line 116

Class

PrintLinks
Provides a block with a link to print entities.

Namespace

Drupal\entity_print\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $print_config = $form_state
    ->getValue('print');
  foreach ($print_config as $key => $value) {
    $this->configuration[$key] = $value;
  }
}