You are here

public function SocialApiController::__construct in Social API 8.2

Same name and namespace in other branches
  1. 8 src/Controller/SocialApiController.php \Drupal\social_api\Controller\SocialApiController::__construct()
  2. 3.x src/Controller/SocialApiController.php \Drupal\social_api\Controller\SocialApiController::__construct()

SocialApiController constructor.

Parameters

\Drupal\social_api\Plugin\NetworkManager $networkManager: The network manager.

File

src/Controller/SocialApiController.php, line 33

Class

SocialApiController
Renders integrations of social api.

Namespace

Drupal\social_api\Controller

Code

public function __construct(NetworkManager $networkManager) {
  $this->networkManager = $networkManager;
}