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