You are here

public function GotoAction::defaultConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/action/src/Plugin/Action/GotoAction.php \Drupal\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/modules/action/src/Plugin/Action/GotoAction.php, line 110
Contains \Drupal\action\Plugin\Action\GotoAction.

Class

GotoAction
Redirects to a different URL.

Namespace

Drupal\action\Plugin\Action

Code

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