Commit 54b5ede1 authored by aspilicious's avatar aspilicious Committed by tim.plunkett
Browse files

renamed the permission access plugin to perm

parent 4f3af986
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
/** /**
* @Plugin( * @Plugin(
* id = "permission", * id = "perm",
* title = @Translation("Permission"), * title = @Translation("Permission"),
* help = @Translation("Access will be granted to users with the specified permission string."), * help = @Translation("Access will be granted to users with the specified permission string."),
* help_topic = "access-perm", * help_topic = "access-perm",
......
...@@ -178,7 +178,7 @@ function view_access_perm() { ...@@ -178,7 +178,7 @@ function view_access_perm() {
/* Display: Master */ /* Display: Master */
$handler = $view->new_display('default', 'Master', 'default'); $handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['access']['type'] = 'permission'; $handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['access']['perm'] = 'views_test test permission'; $handler->display->display_options['access']['perm'] = 'views_test test permission';
$handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['exposed_form']['type'] = 'basic';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment