You are here

public function TestPermissionCallbacks::titleDescriptionRestrictAccess in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\TestPermissionCallbacks::titleDescriptionRestrictAccess()

File

core/modules/user/tests/src/Unit/PermissionHandlerTest.php, line 402
Contains \Drupal\Tests\user\Unit\PermissionHandlerTest.

Class

TestPermissionCallbacks

Namespace

Drupal\Tests\user\Unit

Code

public function titleDescriptionRestrictAccess() {
  return array(
    'access_module_c' => array(
      'title' => 'Access C',
      'description' => 'bla bla',
      'restrict access' => TRUE,
    ),
  );
}