You are here

little_helpers.drush.inc in Little helpers 7

File

little_helpers.drush.inc
View source
<?php

/**
 * Implements hook_drush_command().
 */
function little_helpers_drush_command() {
  $items['permission-matrix'] = array(
    'description' => 'Show the permission matrix for this installation.',
    'arguments' => array(),
    'options' => array(),
    'aliases' => array(
      'perm-matrix',
    ),
  );
  return $items;
}

/**
 *
 */
function drush_little_helpers_permission_matrix() {
  $matrix = PermissionMatrix::createFromSystem();
  $matrix
    ->printEmptyTable();
}

Functions

Namesort descending Description
drush_little_helpers_permission_matrix
little_helpers_drush_command Implements hook_drush_command().