public function SocialSharingButtonsBlock::blockSubmit in Better Social Sharing Buttons 8.3
Overrides BlockPluginTrait::blockSubmit
File
- src/
Plugin/ Block/ SocialSharingButtonsBlock.php, line 168
Class
- SocialSharingButtonsBlock
- Provides a social sharing buttons block.
Namespace
Drupal\better_social_sharing_buttons\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['services'] = $form_state
->getValue('services');
$this->configuration['iconset'] = $form_state
->getValue('iconset');
$this->configuration['facebook_app_id'] = $form_state
->getValue('facebook_app_id');
$this->configuration['print_css'] = $form_state
->getValue('print_css');
$this->configuration['width'] = $form_state
->getValue('width');
$this->configuration['radius'] = $form_state
->getValue('radius');
}