You are here

public function MenuBlockCurrentLanguage::blockSubmit in Menu block current language 8

Overrides SystemMenuBlock::blockSubmit

File

src/Plugin/Block/MenuBlockCurrentLanguage.php, line 119

Class

MenuBlockCurrentLanguage
Provides a generic Menu block.

Namespace

Drupal\menu_block_current_language\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $this->configuration['translation_providers'] = $form_state
    ->getValue('translation_providers');
  parent::blockSubmit($form, $form_state);
}