You are here

public function KernelTestBasePlugin::getConf in IMCE 8

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

The get conf.

Return value

array Return array conf.

5 methods override KernelTestBasePlugin::getConf()
CoreTest::getConf in tests/src/Kernel/Plugin/ImcePlugin/CoreTest.php
The get settings.
DeleteTest::getConf in tests/src/Kernel/Plugin/ImcePlugin/DeleteTest.php
Get permissions settings.
ImceFolderTest::getConf in tests/src/Kernel/ImceFolderTest.php
Settings needed to run tests.
NewFolderTest::getConf in tests/src/Kernel/Plugin/ImcePlugin/NewFolderTest.php
Get permissions settings.
ResizeTest::getConf in tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php
Get permissions settings.

File

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

Class

KernelTestBasePlugin
The abstract class base to imce kernel tests.

Namespace

Drupal\Tests\imce\Kernel\Plugin

Code

public function getConf() {
  return [
    "extensions" => "*",
    "maxsize" => '104857600.0',
    "quota" => 0,
    "maxwidth" => 0,
    "maxheight" => 0,
    "replace" => 0,
    "thumbnail_style" => "",
    "folders" => [
      "." => [
        "permissions" => [
          "all" => TRUE,
        ],
      ],
    ],
    "pid" => "admin",
    "scheme" => "public",
    "root_uri" => "public://",
    "root_url" => "/sites/default/files",
    "token" => "Vof6182Y9jbV1jFfCU0arR2XDI8qs-OfO8c-R-IbkTg",
  ];
}