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\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['sharemessage'] = $form_state
->getValue('sharemessage');
}