You are here

public function ResourceFieldResource::addDefaults in RESTful 7.2

Adds the default values to the definitions array.

Overrides ResourceFieldInterface::addDefaults

File

src/Plugin/resource/Field/ResourceFieldResource.php, line 165
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldResource.

Class

ResourceFieldResource

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function addDefaults() {
  $this->decorated
    ->addDefaults();
}