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