You are here

public function SubscriptionController::__construct in Organic groups 8

Constructs a SubscriptionController object.

Parameters

\Drupal\og\OgAccessInterface $og_access: The OG access service.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

File

src/Controller/SubscriptionController.php, line 49

Class

SubscriptionController
Controller for OG subscription routes.

Namespace

Drupal\og\Controller

Code

public function __construct(OgAccessInterface $og_access, MessengerInterface $messenger) {
  $this->ogAccess = $og_access;
  $this->messenger = $messenger;
}