BlockContentAccessHandlerTest::$role

Same name and namespace in other branches
  1. 9 core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php \Drupal\Tests\block_content\Kernel\BlockContentAccessHandlerTest::role
  2. 8.9.x core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php \Drupal\Tests\block_content\Kernel\BlockContentAccessHandlerTest::role
  3. 10 core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php \Drupal\Tests\block_content\Kernel\BlockContentAccessHandlerTest::role

The test role.

Type: \Drupal\user\RoleInterface

File

core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php, line 60

Class

BlockContentAccessHandlerTest
Tests the block content entity access handler.

Namespace

Drupal\Tests\block_content\Kernel

Code

protected $role;

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