function FieldTimeIntervalTest::dataSet
Same name in other branches
- 9 core/modules/views/tests/src/Functional/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Functional\Handler\FieldTimeIntervalTest::dataSet()
- 11.x core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Kernel\Handler\FieldTimeIntervalTest::dataSet()
Overrides ViewsKernelTestBase::dataSet
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldTimeIntervalTest.php, line 78
Class
- FieldTimeIntervalTest
- Tests the time interval handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
protected function dataSet() {
$data_set = parent::dataSet();
foreach ($data_set as $delta => $person) {
$data_set[$delta]['age'] = $this->ages[$delta][0];
}
return $data_set;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.