function StaticDiscoveryTestDecoratedClass::getDefinitions

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php \Drupal\Tests\Component\Plugin\Discovery\StaticDiscoveryTestDecoratedClass::getDefinitions()

Overrides StaticDiscovery::getDefinitions

File

core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php, line 235

Class

StaticDiscoveryTestDecoratedClass
A class extending StaticDiscovery for testing purposes.

Namespace

Drupal\Tests\Component\Plugin\Discovery

Code

public function getDefinitions() : array {
    return [];
}

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