_node_access_rebuild_batch_finished($success, $results, $operations)
Implements callback_batch_finished().
Performs post-processing for node_access_rebuild().
Parameters
bool $success: A boolean indicating whether the re-build process has completed.
array $results: An array of results information.
array $operations: An array of function calls (not used in this function).
Related topics
- Node access rights
- The node access system determines who can do what to which nodes.
File
- core/modules/node/node.module, line 1264
- The core module that allows content to be submitted to the site.
Code
1 2 3 4 5 6 7 8 9 | function _node_access_rebuild_batch_finished( $success , $results , $operations ) { if ( $success ) { drupal_set_message(t( 'The content access permissions have been rebuilt.' )); node_access_needs_rebuild(FALSE); } else { drupal_set_message(t( 'The content access permissions have not been properly rebuilt.' ), 'error' ); } } |
Please login to continue.