You are here

public function TestPermissionCallbacks::titleDescription in Drupal 9

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

File

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

Class

TestPermissionCallbacks

Namespace

Drupal\Tests\user\Unit

Code

public function titleDescription() {
  return [
    'access module b' => [
      'title' => 'Access B',
      'description' => 'bla bla',
    ],
  ];
}