function DiscoveryCachedTraitMockableClass::getDefinitions
Same name in other branches
- 10 core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php \Drupal\Tests\Component\Plugin\Discovery\DiscoveryCachedTraitMockableClass::getDefinitions()
Overrides DiscoveryTrait::getDefinitions
File
-
core/
tests/ Drupal/ Tests/ Component/ Plugin/ Discovery/ DiscoveryCachedTraitTest.php, line 77
Class
- DiscoveryCachedTraitMockableClass
- A class using the DiscoveryCachedTrait 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.