function DiscoveryTraitMockableClass::getDefinitions

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php \Drupal\Tests\Component\Plugin\Discovery\DiscoveryTraitMockableClass::getDefinitions()

Overrides DiscoveryTrait::getDefinitions

File

core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php, line 162

Class

DiscoveryTraitMockableClass
A class using the DiscoveryTrait for mocking 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.