summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2015-05-12 20:16:53 (GMT)
committerxjm2015-05-12 20:16:53 (GMT)
commitc085079d0dd3aab84b2776f8f3b70afdfa5f79be (patch)
treeddde4696e39616678c5acb0674331d1f5abece59
parent05cc734a0fd43658f4b5fe5b5a55af7982d7bbe1 (diff)
Issue #2473123 by sander.devos, JacobSanford, xjm, jhodgdon: Add node grant classes and interfaces to the node access topic
-rw-r--r--core/modules/node/src/Access/NodeAddAccessCheck.php2
-rw-r--r--core/modules/node/src/Access/NodePreviewAccessCheck.php2
-rw-r--r--core/modules/node/src/Access/NodeRevisionAccessCheck.php2
-rw-r--r--core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php1
-rw-r--r--core/modules/node/src/NodeAccessControlHandler.php1
-rw-r--r--core/modules/node/src/NodeAccessControlHandlerInterface.php2
-rw-r--r--core/modules/node/src/NodeGrantDatabaseStorage.php2
-rw-r--r--core/modules/node/src/NodeGrantDatabaseStorageInterface.php2
8 files changed, 14 insertions, 0 deletions
diff --git a/core/modules/node/src/Access/NodeAddAccessCheck.php b/core/modules/node/src/Access/NodeAddAccessCheck.php
index 3cf2521..8d0a21f 100644
--- a/core/modules/node/src/Access/NodeAddAccessCheck.php
+++ b/core/modules/node/src/Access/NodeAddAccessCheck.php
@@ -15,6 +15,8 @@ use Drupal\node\NodeTypeInterface;
/**
* Determines access to for node add pages.
+ *
+ * @ingroup node_access
*/
class NodeAddAccessCheck implements AccessInterface {
diff --git a/core/modules/node/src/Access/NodePreviewAccessCheck.php b/core/modules/node/src/Access/NodePreviewAccessCheck.php
index a352b6b..270dc3f 100644
--- a/core/modules/node/src/Access/NodePreviewAccessCheck.php
+++ b/core/modules/node/src/Access/NodePreviewAccessCheck.php
@@ -14,6 +14,8 @@ use Drupal\node\NodeInterface;
/**
* Determines access to node previews.
+ *
+ * @ingroup node_access
*/
class NodePreviewAccessCheck implements AccessInterface {
diff --git a/core/modules/node/src/Access/NodeRevisionAccessCheck.php b/core/modules/node/src/Access/NodeRevisionAccessCheck.php
index 456dea1..568d811 100644
--- a/core/modules/node/src/Access/NodeRevisionAccessCheck.php
+++ b/core/modules/node/src/Access/NodeRevisionAccessCheck.php
@@ -16,6 +16,8 @@ use Symfony\Component\Routing\Route;
/**
* Provides an access checker for node revisions.
+ *
+ * @ingroup node_access
*/
class NodeRevisionAccessCheck implements AccessInterface {
diff --git a/core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php b/core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
index e213c40..e892212 100644
--- a/core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
+++ b/core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
@@ -16,6 +16,7 @@ use Drupal\Core\Cache\UserCacheContext;
* This allows for node access grants-sensitive caching when listing nodes.
*
* @see node_query_node_access_alter()
+ * @ingroup node_access
*/
class NodeAccessGrantsCacheContext extends UserCacheContext implements CalculatedCacheContextInterface {
diff --git a/core/modules/node/src/NodeAccessControlHandler.php b/core/modules/node/src/NodeAccessControlHandler.php
index d70a8a9..f655a5e 100644
--- a/core/modules/node/src/NodeAccessControlHandler.php
+++ b/core/modules/node/src/NodeAccessControlHandler.php
@@ -22,6 +22,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* Defines the access control handler for the node entity type.
*
* @see \Drupal\node\Entity\Node
+ * @ingroup node_access
*/
class NodeAccessControlHandler extends EntityAccessControlHandler implements NodeAccessControlHandlerInterface, EntityHandlerInterface {
diff --git a/core/modules/node/src/NodeAccessControlHandlerInterface.php b/core/modules/node/src/NodeAccessControlHandlerInterface.php
index 23509e5..b346822 100644
--- a/core/modules/node/src/NodeAccessControlHandlerInterface.php
+++ b/core/modules/node/src/NodeAccessControlHandlerInterface.php
@@ -10,6 +10,8 @@ use Drupal\Core\Session\AccountInterface;
/**
* Node specific entity access control methods.
+ *
+ * @ingroup node_access
*/
interface NodeAccessControlHandlerInterface {
diff --git a/core/modules/node/src/NodeGrantDatabaseStorage.php b/core/modules/node/src/NodeGrantDatabaseStorage.php
index 9355aa0..1898971 100644
--- a/core/modules/node/src/NodeGrantDatabaseStorage.php
+++ b/core/modules/node/src/NodeGrantDatabaseStorage.php
@@ -22,6 +22,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* Defines a controller class that handles the node grants system.
*
* This is used to build node query access.
+ *
+ * @ingroup node_access
*/
class NodeGrantDatabaseStorage implements NodeGrantDatabaseStorageInterface {
diff --git a/core/modules/node/src/NodeGrantDatabaseStorageInterface.php b/core/modules/node/src/NodeGrantDatabaseStorageInterface.php
index 1361c0d..7f45ab6 100644
--- a/core/modules/node/src/NodeGrantDatabaseStorageInterface.php
+++ b/core/modules/node/src/NodeGrantDatabaseStorageInterface.php
@@ -11,6 +11,8 @@ use Drupal\Core\Session\AccountInterface;
/**
* Provides an interface for node access grant storage.
+ *
+ * @ingroup node_access
*/
interface NodeGrantDatabaseStorageInterface {