public function ChartsBlock::blockSubmit in Charts 8.4
Same name and namespace in other branches
- 8.3 modules/charts_blocks/src/Plugin/Block/ChartsBlock.php \Drupal\charts_blocks\Plugin\Block\ChartsBlock::blockSubmit()
- 5.0.x modules/charts_blocks/src/Plugin/Block/ChartsBlock.php \Drupal\charts_blocks\Plugin\Block\ChartsBlock::blockSubmit()
Overrides BlockPluginTrait::blockSubmit
File
- modules/
charts_blocks/ src/ Plugin/ Block/ ChartsBlock.php, line 88
Class
- ChartsBlock
- Provides a 'ChartsBlock' block.
Namespace
Drupal\charts_blocks\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['chart'] = $form_state
->getValue([
'chart',
'settings',
]);
}