EntityListBuilderTest::$role

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::role
  2. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::role
  3. 11.x core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::role

The entity used to construct the EntityListBuilder.

Type: \Drupal\user\RoleInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php, line 62

Class

EntityListBuilderTest
@coversDefaultClass \Drupal\Core\Entity\EntityListBuilder @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

protected $role;

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