function content_access_page_reset in Content Access 7
Same name and namespace in other branches
- 6 content_access.admin.inc \content_access_page_reset()
Submit callback for reset on content_access_page().
1 string reference to 'content_access_page_reset'
- content_access_page in ./
content_access.admin.inc - Per node settings page.
File
- ./
content_access.admin.inc, line 104 - Content access administration UI.
Code
function content_access_page_reset($form, &$form_state) {
content_access_delete_per_node_settings($form_state['node']);
node_access_acquire_grants($form_state['node']);
drupal_set_message(t('The permissions have been reset to the content type defaults.'));
}