You are here

public function KernelTestBasePlugin::getPluginDefinations in IMCE 8.2

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

Get plugins definations.

Return value

array Return plugins definations.

1 call to KernelTestBasePlugin::getPluginDefinations()
UploadTest::setUp in tests/src/Kernel/Plugin/ImcePlugin/UploadTest.php
2 methods override KernelTestBasePlugin::getPluginDefinations()
NewFolderTest::getPluginDefinations in tests/src/Kernel/Plugin/ImcePlugin/NewFolderTest.php
Get plugins definations to new folder.
ResizeTest::getPluginDefinations in tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php
Get plugins definations to new folder.

File

tests/src/Kernel/Plugin/KernelTestBasePlugin.php, line 115

Class

KernelTestBasePlugin
The abstract class base to imce kernel tests.

Namespace

Drupal\Tests\imce\Kernel\Plugin

Code

public function getPluginDefinations() {
  return [
    "field_types" => [
      0 => "text_with_summary",
    ],
    "multiple_values" => FALSE,
    "id" => "text_textarea_with_summary",
    "label" => $this
      ->t("Text area with a summary"),
    "class" => TextareaWithSummaryWidget::class,
    "provider" => "text",
  ];
}