function FieldKernelTest::testEmpty
Same name in other branches
- 8.9.x core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php \Drupal\Tests\views\Kernel\Handler\FieldKernelTest::testEmpty()
- 10 core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php \Drupal\Tests\views\Kernel\Handler\FieldKernelTest::testEmpty()
- 11.x core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php \Drupal\Tests\views\Kernel\Handler\FieldKernelTest::testEmpty()
Tests everything related to empty output of a field.
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldKernelTest.php, line 388
Class
- FieldKernelTest
- Tests the generic field handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
public function testEmpty() {
$this->_testHideIfEmpty();
$this->_testEmptyText();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.