public function ReadOnlyStorage::write in Config Filter 8
Same name and namespace in other branches
- 8.2 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::write()
Writes configuration data to the storage.
Parameters
string $name: The name of a configuration object to save.
array $data: The configuration data to write.
Return value
bool TRUE on success, FALSE in case of an error.
Throws
\Drupal\Core\Config\StorageException If the back-end storage does not exist and cannot be created.
Overrides StorageInterface::write
1 method overrides ReadOnlyStorage::write()
- GhostStorage::write in src/
Config/ GhostStorage.php - Writes configuration data to the storage.
File
- src/
Config/ ReadOnlyStorage.php, line 58
Class
- ReadOnlyStorage
- Class ReadOnlyStorage.
Namespace
Drupal\config_filter\ConfigCode
public function write($name, array $data) {
throw new UnsupportedMethod(__METHOD__ . ' is not allowed on a ReadOnlyStorage');
}