1 node.install node_update_1017()

Update each content type with new hidden_path configuration defaulted to disabled.

Related topics

File

core/modules/node/node.install, line 1191
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');
  }
}