You are here

protected property TestPluginManagerWithDefaults::$defaults in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\Core\Plugin\TestPluginManagerWithDefaults::defaults

A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes.

Type: array

Overrides DefaultPluginManager::$defaults

File

core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php, line 474

Class

TestPluginManagerWithDefaults

Namespace

Drupal\Tests\Core\Plugin

Code

protected $defaults = [
  'foo' => [
    'bar' => [
      'baz',
    ],
  ],
];