function DateFormatAccessControlHandlerTest::setUp
Same name in other branches
- 9 core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php \Drupal\Tests\system\Kernel\DateFormatAccessControlHandlerTest::setUp()
- 8.9.x core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php \Drupal\Tests\system\Kernel\DateFormatAccessControlHandlerTest::setUp()
- 11.x core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php \Drupal\Tests\system\Kernel\DateFormatAccessControlHandlerTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ system/ tests/ src/ Kernel/ DateFormatAccessControlHandlerTest.php, line 43
Class
- DateFormatAccessControlHandlerTest
- @coversDefaultClass \Drupal\system\DateFormatAccessControlHandler @group system
Namespace
Drupal\Tests\system\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('user');
$this->accessControlHandler = $this->container
->get('entity_type.manager')
->getAccessControlHandler('date_format');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.