public function PdbBlock::submitConfigurationForm in Decoupled Blocks 8
Most block plugins should not override this method. To add submission handling for a specific block type, override BlockBase::blockSubmit().
Overrides BlockPluginTrait::submitConfigurationForm
See also
\Drupal\Core\Block\BlockBase::blockSubmit()
File
- src/
Plugin/ Block/ PdbBlock.php, line 162
Class
- PdbBlock
- Class PdbBlock.
Namespace
Drupal\pdb\Plugin\BlockCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
parent::submitConfigurationForm($form, $form_state);
$this->configuration['pdb_configuration'] = $form_state
->getValue('pdb_configuration');
}