You are here

node_access_rebuild_progressive.drush.inc in Node Access Rebuild Progressive 8

Defines a node access rebuild command.

File

node_access_rebuild_progressive.drush.inc
View 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

Namesort descending Description
drush_node_access_rebuild_progressive_rebuild Rebuilds the node access grants table.
node_access_rebuild_progressive_drush_command Implements hook_drush_command().