You are here

public function DisqusBaseBlock::blockSubmit in Disqus 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/DisqusBaseBlock.php, line 125

Class

DisqusBaseBlock
Create a new DisqusBaseBlock.

Namespace

Drupal\disqus\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  foreach ($form_state
    ->getValue('disqus') as $k => $v) {
    $this->configuration[$k] = $v;
  }
}