You are here

public function GotoAction::defaultConfiguration in Drupal 8

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableActionBase::defaultConfiguration

File

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

Class

GotoAction
Redirects to a different URL.

Namespace

Drupal\Core\Action\Plugin\Action

Code

public function defaultConfiguration() {
  return [
    'url' => '',
  ];
}