node_access_rebuild_progressive.drush.inc in Node Access Rebuild Progressive 8
Same filename and directory in other branches
Defines a node access rebuild command.
File
node_access_rebuild_progressive.drush.incView source
<?php
/**
* @file
* Defines a node access rebuild command.
*/
/**
* Implements hook_drush_command().
*/
function node_access_rebuild_progressive_drush_command() {
$items['node-access-rebuild-progressive'] = [
'description' => "Fully rebuild node access.",
'callback' => 'drush_node_access_rebuild_progressive_rebuild',
];
return $items;
}
/**
* Rebuilds the node access grants table.
*/
function drush_node_access_rebuild_progressive_rebuild() {
_drush_node_access_rebuild_progressive_rebuild();
}
Functions
Name | Description |
---|---|
drush_node_access_rebuild_progressive_rebuild | Rebuilds the node access grants table. |
node_access_rebuild_progressive_drush_command | Implements hook_drush_command(). |