function FieldDateTest::dataSet
Same name in other branches
- 9 core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php \Drupal\Tests\views\Kernel\Handler\FieldDateTest::dataSet()
- 10 core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php \Drupal\Tests\views\Kernel\Handler\FieldDateTest::dataSet()
- 11.x core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php \Drupal\Tests\views\Kernel\Handler\FieldDateTest::dataSet()
Overrides ViewsKernelTestBase::dataSet
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldDateTest.php, line 57
Class
- FieldDateTest
- Tests the core Drupal\views\Plugin\views\field\Date handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
public function dataSet() {
$datas = parent::dataSet();
foreach ($datas as $i => $data) {
$datas[$i]['destroyed'] = gmmktime(0, 0, 0, 1, 1, 2050);
}
return $datas;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.