Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
14d3ae9e
Commit
14d3ae9e
authored
Oct 17, 2013
by
Angie Byron
Browse files
Issue
#2095125
follow-up by dawehner: Further refine access checking.
parent
9b8d3239
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Access/AccessCheckInterface.php
View file @
14d3ae9e
...
...
@@ -8,11 +8,12 @@
namespace
Drupal\Core\Access
;
use
Symfony\Component\Routing\Route
;
use
Drupal\Core\Routing\Access\AccessInterface
as
RoutingAccessInterface
;
/**
* An access check service determines access rules for particular routes.
*/
interface
AccessCheckInterface
extends
AccessInterface
{
interface
AccessCheckInterface
extends
Routing
AccessInterface
{
/**
* Declares whether the access check applies to a specific route or not.
...
...
core/lib/Drupal/Core/Access/StaticAccessCheckInterface.php
View file @
14d3ae9e
...
...
@@ -7,8 +7,7 @@
namespace
Drupal\Core\Access
;
use
Symfony\Component\Routing\Route
;
use
Symfony\Component\HttpFoundation\Request
;
use
Drupal\Core\Routing\Access\AccessInterface
as
RoutingAccessInterface
;
/**
* An access check service determines access rules for particular routes.
...
...
@@ -16,7 +15,7 @@
* This interface is specifically for routes that know exactly which requirement
* keys they should react to for a route.
*/
interface
StaticAccessCheckInterface
extends
AccessInterface
{
interface
StaticAccessCheckInterface
extends
Routing
AccessInterface
{
/**
* Declares the route requirement keys this access checker applies to.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment