public function TestFieldNull::build in Display Suite 8.3
Same name and namespace in other branches
- 8.4 tests/modules/ds_test/src/Plugin/DsField/TestFieldNull.php \Drupal\ds_test\Plugin\DsField\TestFieldNull::build()
- 8.2 tests/modules/ds_test/src/Plugin/DsField/TestFieldNull.php \Drupal\ds_test\Plugin\DsField\TestFieldNull::build()
Renders a field.
Return value
array A renderable array representing the content of the field.
Overrides DsFieldBase::build
File
- tests/
modules/ ds_test/ src/ Plugin/ DsField/ TestFieldNull.php, line 21
Class
- TestFieldNull
- Test field plugin that returns NULL.
Namespace
Drupal\ds_test\Plugin\DsFieldCode
public function build() {
return NULL;
}