Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

191-rule-error-fix. #192

Open
wants to merge 1 commit into
base: 8.x-1.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Plugin/Menu/LocalAction/ResetAccessRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Drupal\Core\Routing\RouteMatchInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Symfony\Component\HttpFoundation\Request;

/**
* Modifies the reset access rules action.
Expand Down Expand Up @@ -70,7 +71,7 @@ public static function create(ContainerInterface $container, array $configuratio
/**
* {@inheritdoc}
*/
public function getTitle() {
public function getTitle(Request $request = NULL) {
$route = $this->routeProvider->getRouteByName($this->getRouteName());
$param = $route->getDefault('event');

Expand Down