function RulesUiConfigHandler::getUrlFromRoute
Overrides RulesUiHandlerInterface::getUrlFromRoute
File
-
src/
Ui/ RulesUiConfigHandler.php, line 151
Class
- RulesUiConfigHandler
- The default handler for RulesUi plugins that store to config.
Namespace
Drupal\rules\UiCode
public function getUrlFromRoute($route_suffix, array $route_parameters, array $options = []) {
// @see \Drupal\Core\Url::fromRouteMatch()
return Url::fromRoute($this->pluginDefinition->base_route . '.' . $route_suffix, $route_parameters + $this->currentRouteMatch
->getRawParameters()
->all(), $options);
}