BlockContentAccessHandlerTest::$role

Same name in other branches
  1. 8.9.x core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php \Drupal\Tests\block_content\Kernel\BlockContentAccessHandlerTest::role
  2. 10 core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php \Drupal\Tests\block_content\Kernel\BlockContentAccessHandlerTest::role
  3. 11.x 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 52

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.