public function QaAccountsCreateDeleteInterface::createQaAccountForRole in QA Accounts 8
Creates QA account for specified role.
Parameters
string $role_name: The machine name of the role the account is to be created for.
1 method overrides QaAccountsCreateDeleteInterface::createQaAccountForRole()
- QaAccountsCreateDelete::createQaAccountForRole in src/
QaAccountsCreateDelete.php - Creates QA account for specified role.
File
- src/
QaAccountsCreateDeleteInterface.php, line 21
Class
- QaAccountsCreateDeleteInterface
- Interface for a service that creates and deletes QA accounts for roles.
Namespace
Drupal\qa_accountsCode
public function createQaAccountForRole($role_name);