public function TestEntityTypeManager::setDiscovery in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestEntityTypeManager::setDiscovery()
Sets the discovery for the manager.
Parameters
\Drupal\Component\Plugin\Discovery\DiscoveryInterface $discovery: The discovery object.
File
- core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeManagerTest.php, line 403 - Contains \Drupal\Tests\Core\Entity\EntityTypeManagerTest.
Class
Namespace
Drupal\Tests\Core\EntityCode
public function setDiscovery(DiscoveryInterface $discovery) {
$this->discovery = $discovery;
}