You are here

public function EntitySharePathautoEnhancer::defaultConfiguration in Entity Share 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/jsonapi/FieldEnhancer/EntitySharePathautoEnhancer.php \Drupal\entity_share\Plugin\jsonapi\FieldEnhancer\EntitySharePathautoEnhancer::defaultConfiguration()

File

src/Plugin/jsonapi/FieldEnhancer/EntitySharePathautoEnhancer.php, line 129

Class

EntitySharePathautoEnhancer
Prepare path value to be able to handle pathauto metadata.

Namespace

Drupal\entity_share\Plugin\jsonapi\FieldEnhancer

Code

public function defaultConfiguration() {
  return [
    'behavior' => self::EXPOSE_CURRENT_PATHAUTO,
  ];
}