You are here

public function ResizeTest::getPluginDefinations in IMCE 8.2

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

Get plugins definations to new folder.

Overrides KernelTestBasePlugin::getPluginDefinations

File

tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php, line 126

Class

ResizeTest
Kernel tests for Imce plugins for Imce Plugin Core.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

public function getPluginDefinations() {
  return [
    'weight' => 0,
    'operations' => [
      'resize' => 'opResize',
    ],
    'id' => 'resize',
    'label' => 'Resize',
    'class' => 'Drupal\\imce\\Plugin\\ImcePlugin\\Resize',
    'provider' => 'imce',
  ];
}