public function DropdownLanguage::blockSubmit in Dropdown Language 8.3
Same name and namespace in other branches
- 8 src/Plugin/Block/DropdownLanguage.php \Drupal\dropdown_language\Plugin\Block\DropdownLanguage::blockSubmit()
- 8.2 src/Plugin/Block/DropdownLanguage.php \Drupal\dropdown_language\Plugin\Block\DropdownLanguage::blockSubmit()
- 3.0.x src/Plugin/Block/DropdownLanguage.php \Drupal\dropdown_language\Plugin\Block\DropdownLanguage::blockSubmit()
Overrides BlockPluginTrait::blockSubmit
File
- src/
Plugin/ Block/ DropdownLanguage.php, line 294
Class
- DropdownLanguage
- Provides an alternative language switcher block.
Namespace
Drupal\dropdown_language\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this
->setConfigurationValue('labels', $form_state
->getValue('labels'));
}