You are here

public function GotoAction::submitConfigurationForm in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php \Drupal\Core\Action\Plugin\Action\GotoAction::submitConfigurationForm()
  2. 9 core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php \Drupal\Core\Action\Plugin\Action\GotoAction::submitConfigurationForm()

File

core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php, line 128

Class

GotoAction
Redirects to a different URL.

Namespace

Drupal\Core\Action\Plugin\Action

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->configuration['url'] = $form_state
    ->getValue('url');
}