function DatetimeFormElementTest::setUp
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php \Drupal\KernelTests\Core\Datetime\Element\DatetimeFormElementTest::setUp()
Overrides EntityKernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ Element/ DatetimeFormElementTest.php, line 38
Class
- DatetimeFormElementTest
- Tests static callbacks returns and form submission with datetime elements.
Namespace
Drupal\KernelTests\Core\Datetime\ElementCode
public function setUp() : void {
parent::setUp();
$this->installEntitySchema('date_format');
$this->installConfig([
'system',
]);
$this->formBuilder = $this->container
->get('form_builder');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.