public function TestGroupRelationManager::setDiscovery in Group 2.0.x
Sets the discovery for the manager.
Parameters
\Drupal\Component\Plugin\Discovery\DiscoveryInterface $discovery: The discovery object.
File
- tests/
src/ Unit/ GroupRelationManagerTest.php, line 274
Class
Namespace
Drupal\Tests\group\UnitCode
public function setDiscovery(DiscoveryInterface $discovery) {
$this->discovery = $discovery;
}