public function Newfolder::permissionInfo in IMCE 8
Same name and namespace in other branches
- 8.2 src/Plugin/ImcePlugin/Newfolder.php \Drupal\imce\Plugin\ImcePlugin\Newfolder::permissionInfo()
Returns folder permission definitions.
Return value
array An array of id:label pairs.
Overrides ImcePluginBase::permissionInfo
File
- src/
Plugin/ ImcePlugin/ Newfolder.php, line 26
Class
- Newfolder
- Defines Imce New Folder plugin.
Namespace
Drupal\imce\Plugin\ImcePluginCode
public function permissionInfo() {
return [
'create_subfolders' => $this
->t('Create subfolders'),
];
}