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