function RecipeOverrideConfigStorage::encode

Same name in other branches
  1. 10 core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php \Drupal\Core\Recipe\RecipeOverrideConfigStorage::encode()

Overrides StorageInterface::encode

File

core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php, line 87

Class

RecipeOverrideConfigStorage
Wraps a config storage to allow recipe provided configuration to override it.

Namespace

Drupal\Core\Recipe

Code

public function encode($data) : string {
    return $this->wrappedStorage
        ->encode($data);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.