mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 10:56:08 +01:00
Show the access levels filters
This commit is contained in:
@@ -405,7 +405,7 @@ class Admin
|
||||
}
|
||||
|
||||
/**
|
||||
* Get All template types
|
||||
* Get all template types
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
@@ -415,7 +415,7 @@ class Admin
|
||||
}
|
||||
|
||||
/**
|
||||
* Get All modular template types
|
||||
* Get all modular template types
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
@@ -424,6 +424,16 @@ class Admin
|
||||
return Pages::modularTypes();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all access levels
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function accessLevels()
|
||||
{
|
||||
return $this->grav['pages']->accessLevels();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all plugins.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user