public function FBLikeboxBlock::blockSubmit in Facebook Page Plugin 8
Same name and namespace in other branches
- 8.2 src/Plugin/Block/FBLikeboxBlock.php \Drupal\fb_likebox\Plugin\Block\FBLikeboxBlock::blockSubmit()
Overrides BlockPluginTrait::blockSubmit
File
- src/
Plugin/ Block/ FBLikeboxBlock.php, line 51 - Contains \Drupal\fb_likebox\Plugin\Block\FBLikeboxBlock.
Class
- FBLikeboxBlock
- Provides a configurable block with Facebook Likebox's plugin.
Namespace
Drupal\fb_likebox\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['block_example_string'] = $form_state
->getValue('block_example_string_text');
}