function FieldTimeIntervalTest::viewsData
Same name in other branches
- 10 core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Kernel\Handler\FieldTimeIntervalTest::viewsData()
- 11.x core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Kernel\Handler\FieldTimeIntervalTest::viewsData()
Overrides \Drupal\views\Tests\ViewUnitTestBase::viewsData().
Overrides ViewTestBase::viewsData
File
-
core/
modules/ views/ tests/ src/ Functional/ Handler/ FieldTimeIntervalTest.php, line 80
Class
- FieldTimeIntervalTest
- Tests the time interval handler.
Namespace
Drupal\Tests\views\Functional\HandlerCode
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['age']['field']['id'] = 'time_interval';
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.