public function NewFolderTest::getPluginDefinations in IMCE 8
Same name and namespace in other branches
- 8.2 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\ImcePluginCode
public function getPluginDefinations() {
return [
'weight' => '-15',
'operations' => [
'newfolder' => "opNewfolder",
],
'id' => "newfolder",
'label' => "New Folder",
'class' => "Drupal\\imce\\Plugin\\ImcePlugin\\Newfolder",
'provider' => "imce",
];
}