You are here

public function RRSSBBlock::blockSubmit in Ridiculously Responsive Social Sharing Buttons 8.2

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/RRSSBBlock.php, line 55

Class

RRSSBBlock
Provides a 'RRSSB form' block.

Namespace

Drupal\rrssb\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  parent::blockSubmit($form, $form_state);
  $values = $form_state
    ->getValues();
  $this->configuration['button_set'] = $values['button_set'];
}