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