ViewExecutableFactoryTest::$user

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php \Drupal\Tests\views\Unit\ViewExecutableFactoryTest::user
  2. 10 core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php \Drupal\Tests\views\Unit\ViewExecutableFactoryTest::user
  3. 9 core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php \Drupal\Tests\views\Unit\ViewExecutableFactoryTest::user
  4. 8.9.x core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php \Drupal\Tests\views\Unit\ViewExecutableFactoryTest::user

The mock user object.

Type: \Drupal\Core\Session\AccountInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php, line 26

Class

ViewExecutableFactoryTest
Tests Drupal\views\ViewExecutableFactory.

Namespace

Drupal\Tests\views\Unit

Code

protected $user;

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