You are here

public function NewFolderTest::getPluginDefinations in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Plugin/ImcePlugin/NewFolderTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\NewFolderTest::getPluginDefinations()

Get plugins definations to new folder.

Overrides KernelTestBasePlugin::getPluginDefinations

File

tests/src/Kernel/Plugin/ImcePlugin/NewFolderTest.php, line 90

Class

NewFolderTest
Kernel tests for Imce plugins for Imce Plugin NewFolder.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

public function getPluginDefinations() {
  return [
    'weight' => '-15',
    'operations' => [
      'newfolder' => "opNewfolder",
    ],
    'id' => "newfolder",
    'label' => "New Folder",
    'class' => "Drupal\\imce\\Plugin\\ImcePlugin\\Newfolder",
    'provider' => "imce",
  ];
}