1.20.x node.install | node_update_1017() |
Update each content type with new hidden_path configuration defaulted to disabled.
Related topics
File
- modules/
node/ node.install, line 1184 - Install, update and uninstall functions for the node module.
Code
function node_update_1017() {
$types = config_get_names_with_prefix('node.type');
foreach ($types as $type) {
config_set($type, 'settings.hidden_path', '0');
}
}