public FieldConfigBase::getDefaultValueCallback()
public FieldConfigBase::getSetting($setting_name)
The name of a callback function that returns default values. The function will be called with the following arguments:
public FieldConfigBase::isTranslatable()
public FieldConfigBase::setSetting($setting_name, $value)
The name of the bundle the field is attached to. Type: string File
public FieldConfigBase::setRequired($required)
public FieldConfigBase::addPropertyConstraints($name, array $constraints)
Field-type specific settings. An array of key/value pairs. The keys and default values are defined by the field type.
Flag indicating whether the field is required. TRUE if a value for this field is required when used with this bundle, FALSE otherwise. Currently
Page 2 of 6