You are here

public function EntityShareMetatagEnhancer::defaultConfiguration in Entity Share 8.2

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

File

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

Class

EntityShareMetatagEnhancer
Prepare metatag value to be able to shared.

Namespace

Drupal\entity_share\Plugin\jsonapi\FieldEnhancer

Code

public function defaultConfiguration() {
  return [
    'expose_default_tags' => TRUE,
    'replace_tokens' => TRUE,
    'clear_tokens' => TRUE,
  ];
}