You are here

public function Resize::permissionInfo in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ImcePlugin/Resize.php \Drupal\imce\Plugin\ImcePlugin\Resize::permissionInfo()

Returns folder permission definitions.

Return value

array An array of id:label pairs.

Overrides ImcePluginBase::permissionInfo

File

src/Plugin/ImcePlugin/Resize.php, line 25

Class

Resize
Defines Imce Resize plugin.

Namespace

Drupal\imce\Plugin\ImcePlugin

Code

public function permissionInfo() {
  return [
    'resize_images' => $this
      ->t('Resize images'),
  ];
}