You are here

function view_custom_table_permission in Views Custom Table 7

Implements hook_permission().

File

./view_custom_table.module, line 24
view_custom_table.module

Code

function view_custom_table_permission() {
  return array(
    'add custom table in views' => array(
      'title' => t('Add custom table in views'),
      'description' => t('Add custom table of database in views. So views can use it.'),
    ),
    'administer all custom table in views' => array(
      'title' => t('Administer all custom table in views'),
      'description' => t('View, edit, delete any custom tables for views.'),
    ),
    'administer own custom table in views' => array(
      'title' => t('Administer own custom table in views'),
      'description' => t('View, edit, delete own custom tables for views.'),
    ),
  );
}