You are here

public function ShareMessageBlock::blockSubmit in Share Message 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/ShareMessageBlock.php, line 105

Class

ShareMessageBlock
Provides a 'ShareMessage' block with the AddThis widgets.

Namespace

Drupal\sharemessage\Plugin\Block

Code

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