Show the access levels filters

This commit is contained in:
Flavio Copes
2015-10-21 18:41:49 +02:00
parent b5e23fd81d
commit d3e352ef98
3 changed files with 20 additions and 4 deletions

View File

@@ -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.
*