You are here

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

TestGroupContentEnablerManager

Namespace

Drupal\Tests\group\Unit

Code

public function setDiscovery(DiscoveryInterface $discovery) {
  $this->discovery = $discovery;
}