function node_update_8400
Fix realm column description on the node_access table.
File
-
core/
modules/ node/ node.install, line 254
Code
function node_update_8400() {
$schema = drupal_get_module_schema('node', 'node_access');
$schema['fields']['realm']['description'] = 'The realm in which the user must possess the grant ID. Modules can define one or more realms by implementing hook_node_grants().';
Database::getConnection()->schema()
->changeField('node_access', 'realm', 'realm', $schema['fields']['realm']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.