You are here

public function TestPermissionCallbacks::titleProvider in Drupal 8

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

File

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

Class

TestPermissionCallbacks

Namespace

Drupal\Tests\user\Unit

Code

public function titleProvider() {
  return [
    'access module a via module b' => [
      'title' => 'Access A via B',
      'provider' => 'module_a',
    ],
  ];
}