simple_access.views.inc in Simple Access 8.3
Same filename and directory in other branches
Provide Simple Access security method for views.
File
simple_access.views.incView source
<?php
/**
* @file
* Provide Simple Access security method for views.
*/
/**
* Implements hook_views_plugins().
*/
function simple_access_views_plugins() {
return [
'access' => [
'simple_access' => [
'title' => t('Simple access group'),
'help' => t('Will only make the views available if the user is apart of the specificed group.'),
'handler' => 'simple_access_views_plugin_group',
'uses options' => TRUE,
'path' => drupal_get_path('module', 'simple_access') . '/views',
],
],
];
}
Functions
Name | Description |
---|---|
simple_access_views_plugins | Implements hook_views_plugins(). |