function GotoAction::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php \Drupal\Core\Action\Plugin\Action\GotoAction::__construct()
- 10 core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php \Drupal\Core\Action\Plugin\Action\GotoAction::__construct()
- 9 core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php \Drupal\Core\Action\Plugin\Action\GotoAction::__construct()
- 8.9.x core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php \Drupal\Core\Action\Plugin\Action\GotoAction::__construct()
Constructs a GotoAction object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher: The tempstore factory.
\Drupal\Core\Utility\UnroutedUrlAssemblerInterface $unroutedUrlAssembler: The unrouted URL assembler service.
Overrides ConfigurableActionBase::__construct
File
-
core/
lib/ Drupal/ Core/ Action/ Plugin/ Action/ GotoAction.php, line 42
Class
- GotoAction
- Redirects to a different URL.
Namespace
Drupal\Core\Action\Plugin\ActionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, protected EventDispatcherInterface $dispatcher, protected UnroutedUrlAssemblerInterface $unroutedUrlAssembler) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.