FieldTimeIntervalTest::$ages
Same name in other branches
- 9 core/modules/views/tests/src/Functional/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Functional\Handler\FieldTimeIntervalTest::ages
- 11.x core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Kernel\Handler\FieldTimeIntervalTest::ages
Ages dataset.
Type: ages
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldTimeIntervalTest.php, line 35
Class
- FieldTimeIntervalTest
- Tests the time interval handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
protected array $ages = [
[
0,
'0 sec',
2,
],
[
1000,
'16 min',
1,
],
[
1000000,
'1 week 4 days 13 hours 46 min',
4,
],
[
100000000,
'3 years 2 months',
5,
],
[
NULL,
'',
3,
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.