public function LanguageSelectionPageConditionPath::postConfigSave in Language Selection Page 8.2
Post config save method.
Method that gets triggered when the configuration of the form has been saved.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The FormState object.
Overrides LanguageSelectionPageConditionBase::postConfigSave
File
- src/
Plugin/ LanguageSelectionPageCondition/ LanguageSelectionPageConditionPath.php, line 194
Class
- LanguageSelectionPageConditionPath
- Class for the Path condition plugin.
Namespace
Drupal\language_selection_page\Plugin\LanguageSelectionPageConditionCode
public function postConfigSave(array &$form, FormStateInterface $form_state) {
$this->routeBuilder
->rebuildIfNeeded();
}