function StorageReplaceDataWrapper::encode
Same name in other branches
- 9 core/modules/config/src/StorageReplaceDataWrapper.php \Drupal\config\StorageReplaceDataWrapper::encode()
- 10 core/modules/config/src/StorageReplaceDataWrapper.php \Drupal\config\StorageReplaceDataWrapper::encode()
- 11.x core/modules/config/src/StorageReplaceDataWrapper.php \Drupal\config\StorageReplaceDataWrapper::encode()
Overrides StorageInterface::encode
File
-
core/
modules/ config/ src/ StorageReplaceDataWrapper.php, line 114
Class
- StorageReplaceDataWrapper
- Wraps a configuration storage to allow replacing specific configuration data.
Namespace
Drupal\configCode
public function encode($data) {
return $this->storage
->encode($data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.