DiscoveryTestBase::$emptyDiscovery
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php \Drupal\KernelTests\Core\Plugin\Discovery\DiscoveryTestBase::emptyDiscovery
- 8.9.x core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php \Drupal\KernelTests\Core\Plugin\Discovery\DiscoveryTestBase::emptyDiscovery
- 10 core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php \Drupal\KernelTests\Core\Plugin\Discovery\DiscoveryTestBase::emptyDiscovery
An empty discovery component.
This will be tested to ensure that the case where no plugin information is found, is handled correctly.
Type: \Drupal\Component\Plugin\Discovery\DiscoveryInterface
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ DiscoveryTestBase.php, line 37
Class
- DiscoveryTestBase
- Base class for plugin discovery tests.
Namespace
Drupal\KernelTests\Core\Plugin\DiscoveryCode
protected $emptyDiscovery;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.