You are here

public function ImceTest::getPluginDefinations in IMCE 8.2

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

Get plugins definations.

Return value

array Return plugins definations.

1 call to ImceTest::getPluginDefinations()
ImceTest::setUp in tests/src/Kernel/Plugin/CKEditorPlugin/ImceTest.php

File

tests/src/Kernel/Plugin/CKEditorPlugin/ImceTest.php, line 64

Class

ImceTest
Kernel tests for Imce plugins for CKEditor.

Namespace

Drupal\Tests\imce\Kernel\Plugin\CKEditorPlugin

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",
  ];
}