public function FacebookBoxesFollowBlock::blockSubmit in Facebook Boxes 8
Overrides BlockPluginTrait::blockSubmit
File
- src/
Plugin/ Block/ FacebookBoxesFollowBlock.php, line 100 - Contains \Drupal\facebook_boxes\Plugin\Block\FacebookBoxesFollowBlock
Class
- FacebookBoxesFollowBlock
- Provides the Facebook Follow block.
Namespace
Drupal\facebook_boxes\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$values = $form_state
->getValues();
$this->configuration['fb_follow_url'] = $values['fb_follow_url_text'];
$this->configuration['fb_follow_layout'] = $values['fb_follow_layout_select'];
$this->configuration['fb_follow_showface'] = $values['fb_follow_showface_checkbox'];
$this->configuration['fb_follow_color'] = $values['fb_follow_colorscheme_select'];
$this->configuration['fb_follow_font'] = $values['fb_follow_font_select'];
$this->configuration['fb_follow_width'] = $values['fb_follow_width_text'];
}