DiscoveryTestBase::$emptyDiscovery

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php \Drupal\KernelTests\Core\Plugin\Discovery\DiscoveryTestBase::emptyDiscovery
  2. 10 core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php \Drupal\KernelTests\Core\Plugin\Discovery\DiscoveryTestBase::emptyDiscovery
  3. 11.x 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 35

Class

DiscoveryTestBase
Base class for plugin discovery tests.

Namespace

Drupal\KernelTests\Core\Plugin\Discovery

Code

protected $emptyDiscovery;

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