public function QaAccountsCreateDelete::__construct in QA Accounts 8
QaAccountsCreateDelete constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.
File
- src/
QaAccountsCreateDelete.php, line 35
Class
- QaAccountsCreateDelete
- Service that creates and deletes QA accounts for roles.
Namespace
Drupal\qa_accountsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_factory) {
$this->entityTypeManager = $entity_type_manager;
$this->logger = $logger_factory
->get('qa_accounts');
}