Overrides BlockPluginTrait::blockSubmit
public function blockSubmit($form, FormStateInterface $form_state) { // Invalidate the block cache to update content block-based derivatives. $this->configuration['view_mode'] = $form_state->getValue('view_mode'); $this->blockManager ->clearCachedDefinitions(); }