public static function BaseFieldOverrideTest::defaultValueCallbackPrimitive in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php \Drupal\KernelTests\Core\Field\Entity\BaseFieldOverrideTest::defaultValueCallbackPrimitive()
A default value callback which returns a primitive value.
Return value
int A primitive default value.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Field/ Entity/ BaseFieldOverrideTest.php, line 91
Class
- BaseFieldOverrideTest
- @coversDefaultClass \Drupal\Core\Field\Entity\BaseFieldOverride @group Field
Namespace
Drupal\KernelTests\Core\Field\EntityCode
public static function defaultValueCallbackPrimitive() {
return 99;
}