You are here

public function TestSelectionWithInvalidDefaultConfiguration::defaultConfiguration in Drupal 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides TestSelection::defaultConfiguration

File

core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php, line 231

Class

TestSelectionWithInvalidDefaultConfiguration
Provides a testing plugin with invalid default configuration.

Namespace

Drupal\Tests\Core\EntityReferenceSelection

Code

public function defaultConfiguration() {
  return [
    'handler_settings' => [
      'foo' => 'bar',
    ],
  ];
}