function TestSelectionWithInvalidDefaultConfiguration::defaultConfiguration

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.