You are here

public function ImcePluginManager::permissionInfo in IMCE 8.2

Same name and namespace in other branches
  1. 8 src/ImcePluginManager.php \Drupal\imce\ImcePluginManager::permissionInfo()

Returns folder permission definitions.

File

src/ImcePluginManager.php, line 120

Class

ImcePluginManager
Provides a plugin manager for Imce Plugins.

Namespace

Drupal\imce

Code

public function permissionInfo() {
  $perms = [];
  foreach ($this
    ->invokeAll('permissionInfo') as $data) {
    if ($data) {
      $perms = array_merge($perms, $data);
    }
  }
  return $perms;
}