EntityListBuilderTest::$role

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::role
  2. 10 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 64

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.