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