public FieldConfigInterface::setDefaultValue($value)
Sets a default value.
Note that if a default value callback is set, it will take precedence over any value set here.
mixed $value: The default value for the field. This can be either:
$this
public function setDefaultValue($value);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldConfigInterface.php/function/FieldConfigInterface::setDefaultValue/8.1.x