function FieldFileSizeTest::dataSet
Same name in other branches
- 9 core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php \Drupal\Tests\views\Kernel\Handler\FieldFileSizeTest::dataSet()
- 8.9.x core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php \Drupal\Tests\views\Kernel\Handler\FieldFileSizeTest::dataSet()
- 10 core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php \Drupal\Tests\views\Kernel\Handler\FieldFileSizeTest::dataSet()
Overrides ViewsKernelTestBase::dataSet
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldFileSizeTest.php, line 25
Class
- FieldFileSizeTest
- Tests the core Drupal\views\Plugin\views\field\FileSize handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
public function dataSet() {
$data = parent::dataSet();
$data[0]['age'] = 0;
$data[1]['age'] = 10;
$data[2]['age'] = 1000;
$data[3]['age'] = 10000;
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.