LazyPluginCollectionTestBase::$config

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php \Drupal\Tests\Core\Plugin\LazyPluginCollectionTestBase::config
  2. 10 core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php \Drupal\Tests\Core\Plugin\LazyPluginCollectionTestBase::config
  3. 11.x core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php \Drupal\Tests\Core\Plugin\LazyPluginCollectionTestBase::config

Contains the plugin configuration.

Type: array

File

core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php, line 40

Class

LazyPluginCollectionTestBase
Provides a base class for plugin collection tests.

Namespace

Drupal\Tests\Core\Plugin

Code

protected $config = [
    'banana' => [
        'id' => 'banana',
        'key' => 'value',
    ],
    'cherry' => [
        'id' => 'cherry',
        'key' => 'value',
    ],
    'apple' => [
        'id' => 'apple',
        'key' => 'value',
    ],
];

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