public function ContentHubAccess::__construct in Acquia Content Hub 8
Same name and namespace in other branches
- 8.2 src/Access/ContentHubAccess.php \Drupal\acquia_contenthub\Access\ContentHubAccess::__construct()
Constructs an ContentEntityNormalizer object.
Parameters
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.
\Drupal\acquia_contenthub\Client\ClientManagerInterface $client_manager: The client manager.
\Drupal\acquia_contenthub\ContentHubSubscription $contenthub_subscription: The Content Hub Subscription.
File
- src/
Access/ ContentHubAccess.php, line 50
Class
- ContentHubAccess
- Implements permission to prevent unauthorized access to Entity CDF.
Namespace
Drupal\acquia_contenthub\AccessCode
public function __construct(LoggerChannelFactoryInterface $logger_factory, ClientManagerInterface $client_manager, ContentHubSubscription $contenthub_subscription) {
$this->loggerFactory = $logger_factory;
$this->clientManager = $client_manager;
$this->contentHubSubscription = $contenthub_subscription;
}