interface QaAccountsCreateDeleteInterface in QA Accounts 8
Interface for a service that creates and deletes QA accounts for roles.
Hierarchy
- interface \Drupal\qa_accounts\QaAccountsCreateDeleteInterface
Expanded class hierarchy of QaAccountsCreateDeleteInterface
All classes that implement QaAccountsCreateDeleteInterface
1 file declares its use of QaAccountsCreateDeleteInterface
- QaAccountsCommands.php in src/
Commands/ QaAccountsCommands.php
File
- src/
QaAccountsCreateDeleteInterface.php, line 8
Namespace
Drupal\qa_accountsView source
interface QaAccountsCreateDeleteInterface {
/**
* Creates QA accounts for all existing roles.
*/
public function createQaAccounts();
/**
* Creates QA account for specified role.
*
* @param string $role_name
* The machine name of the role the account is to be created for.
*/
public function createQaAccountForRole($role_name);
/**
* Deletes QA accounts.
*/
public function deleteQaAccounts();
/**
* Deletes QA account for specified role.
*
* @param string $role_name
* The machine name of the role the account is to be deleted for.
*/
public function deleteQaAccountForRole($role_name);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QaAccountsCreateDeleteInterface:: |
public | function | Creates QA account for specified role. | 1 |
QaAccountsCreateDeleteInterface:: |
public | function | Creates QA accounts for all existing roles. | 1 |
QaAccountsCreateDeleteInterface:: |
public | function | Deletes QA account for specified role. | 1 |
QaAccountsCreateDeleteInterface:: |
public | function | Deletes QA accounts. | 1 |