You are here

public function OgMenuInstanceController::__construct in Organic Groups Menu (OG Menu) 8

Constructs an OgMenuInstanceController object.

Parameters

\Drupal\og\MembershipManagerInterface $membership_manager: The OG membership manager service.

File

src/Controller/OgMenuInstanceController.php, line 43
Contains Drupal\og_menu\Controller\OgMenuInstanceController.

Class

OgMenuInstanceController
Class OgMenuInstanceController.

Namespace

Drupal\og_menu\Controller

Code

public function __construct(MembershipManagerInterface $membership_manager) {
  $this->membershipManager = $membership_manager;
}