public function TestPermissionCallbacks::titleDescriptionRestrictAccess in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\TestPermissionCallbacks::titleDescriptionRestrictAccess()
File
- core/
modules/ user/ tests/ src/ Unit/ PermissionHandlerTest.php, line 388 - Contains \Drupal\Tests\user\Unit\PermissionHandlerTest.
Class
Namespace
Drupal\Tests\user\UnitCode
public function titleDescriptionRestrictAccess() {
return [
'access_module_c' => [
'title' => 'Access C',
'description' => 'bla bla',
'restrict access' => TRUE,
],
];
}