You are here

protected property TestPluginManagerWithDefaults::$defaults in Drupal 8

Same name and namespace in other branches
  1. 9 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 504

Class

TestPluginManagerWithDefaults

Namespace

Drupal\Tests\Core\Plugin

Code

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