function SuperUserAccessPolicyTest::alterPermissionsProvider
Data provider for testAlterPermissions.
Return value
array A list of test scenarios.
File
-
core/
tests/ Drupal/ Tests/ Core/ Session/ SuperUserAccessPolicyTest.php, line 131
Class
Namespace
Drupal\Tests\Core\SessionCode
public static function alterPermissionsProvider() : array {
$cases['is-super-user'] = [
1,
];
$cases['is-normal-user'] = [
2,
];
return $cases;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.