function DiscoveryTraitMockableClass::getDefinitions
Same name in other branches
- 10 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\DiscoveryCode
public function getDefinitions() : array {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.