class TestPluginManagerWithDefaults

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\Core\Plugin\TestPluginManagerWithDefaults
  2. 10 core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\Core\Plugin\TestPluginManagerWithDefaults
  3. 8.9.x core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\Core\Plugin\TestPluginManagerWithDefaults

Hierarchy

Expanded class hierarchy of TestPluginManagerWithDefaults

File

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

Namespace

Drupal\Tests\Core\Plugin
View source
class TestPluginManagerWithDefaults extends TestPluginManager {
  
  /**
   * {@inheritdoc}
   */
  protected $defaults = [
    'foo' => [
      'bar' => [
        'baz',
      ],
    ],
  ];

}

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