function TestPermissionCallbacks::singleDescription

Same name in other branches
  1. 9 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\TestPermissionCallbacks::singleDescription()
  2. 10 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\TestPermissionCallbacks::singleDescription()
  3. 11.x core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\TestPermissionCallbacks::singleDescription()

File

core/modules/user/tests/src/Unit/PermissionHandlerTest.php, line 373

Class

TestPermissionCallbacks

Namespace

Drupal\Tests\user\Unit

Code

public function singleDescription() {
    return [
        'access_module_a' => 'single_description',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.