public function ResourceFieldInterface::addDefaults in RESTful 7.2
Adds the default values to the definitions array.
3 methods override ResourceFieldInterface::addDefaults()
- ResourceField::addDefaults in src/
Plugin/ resource/ Field/ ResourceField.php - Adds the default values to the definitions array.
- ResourceFieldEntity::addDefaults in src/
Plugin/ resource/ Field/ ResourceFieldEntity.php - Almost all the defaults come are applied by the object's property defaults.
- ResourceFieldResource::addDefaults in src/
Plugin/ resource/ Field/ ResourceFieldResource.php - Adds the default values to the definitions array.
File
- src/
Plugin/ resource/ Field/ ResourceFieldInterface.php, line 165 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldInterface.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function addDefaults();