You are here

public function UrlLinkEnhancer::defaultConfiguration in JSON:API Extras 8.3

Overrides ResourceFieldEnhancerBase::defaultConfiguration

File

src/Plugin/jsonapi/FieldEnhancer/UrlLinkEnhancer.php, line 80

Class

UrlLinkEnhancer
Add URL aliases to links.

Namespace

Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer

Code

public function defaultConfiguration() {
  return [
    'absolute_url' => 0,
  ];
}