public function AccessTokenManager::__construct in Access unpublished 8
AccessTokenManager constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\content_moderation\ModerationInformationInterface|null $moderationInformation: The moderation information service.
File
- src/
AccessTokenManager.php, line 47
Class
- AccessTokenManager
- Service to work with access tokens.
Namespace
Drupal\access_unpublishedCode
public function __construct(ConfigFactoryInterface $configFactory, EntityTypeManagerInterface $entityTypeManager, ModerationInformationInterface $moderationInformation = NULL) {
$this->configFactory = $configFactory;
$this->entityTypeManager = $entityTypeManager;
$this->moderationInfo = $moderationInformation;
}