You are here

NodeAccessGrantsTest.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/node/src/Tests/NodeAccessGrantsTest.php

Namespace

Drupal\node\Tests

File

core/modules/node/src/Tests/NodeAccessGrantsTest.php
View source
<?php

/**
 * @file
 * Contains \Drupal\node\Tests\NodeAccessGrantsTest.
 */
namespace Drupal\node\Tests;


/**
 * Tests basic node_access functionality with hook_node_grants().
 *
 * This test just wraps the existing default permissions test while a module
 * that implements hook_node_grants() is enabled.
 *
 * @see \Drupal\node\NodeGrantDatabaseStorage
 *
 * @group node
 */
class NodeAccessGrantsTest extends NodeAccessTest {

  /**
   * Modules to enable.
   *
   * @var array
   */
  public static $modules = array(
    'node_access_test_empty',
  );

}

Classes

Namesort descending Description
NodeAccessGrantsTest Tests basic node_access functionality with hook_node_grants().