RoleUserTestBase::$account
Same name in other branches
- 9 core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php \Drupal\Tests\user\Unit\Plugin\Action\RoleUserTestBase::account
- 8.9.x core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php \Drupal\Tests\user\Unit\Plugin\Action\RoleUserTestBase::account
- 11.x core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php \Drupal\Tests\user\Unit\Plugin\Action\RoleUserTestBase::account
The mocked account.
Type: \Drupal\user\UserInterface|\PHPUnit\Framework\MockObject\MockObject
File
-
core/
modules/ user/ tests/ src/ Unit/ Plugin/ Action/ RoleUserTestBase.php, line 19
Class
- RoleUserTestBase
- Provides a base class for user role action tests.
Namespace
Drupal\Tests\user\Unit\Plugin\ActionCode
protected $account;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.