public function FileStorage::encode in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::encode()
- 9 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::encode()
File
- core/
lib/ Drupal/ Core/ Config/ FileStorage.php, line 195
Class
- FileStorage
- Defines the file storage.
Namespace
Drupal\Core\ConfigCode
public function encode($data) {
return Yaml::encode($data);
}