Skip to content
Snippets Groups Projects
Commit 54b5ede1 authored by Bram Goffings's avatar Bram Goffings Committed by Tim Plunkett
Browse files

renamed the permission access plugin to perm

parent 4f3af986
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment