You are here

function loft_data_grids_perm in Loft Data Grids 6.2

Implements hook_perm().

Related topics

File

./loft_data_grids.module, line 22
Base module file for loft_data_grids

Code

function loft_data_grids_perm() {
  $perms = array();
  foreach (loft_data_grids_export_info() as $data) {
    $perms[] = 'loft_data_grids:' . $data['id'];
  }
  return $perms;
}