protected function CredsUtilsTrait::getAppCredentialController in Apigee Edge 8
Returns the developer app credential controller.
Parameters
string $owner: The developer id (UUID), email address or team (company) name.
string $app_name: The name of an app.
Return value
\Drupal\apigee_edge\Entity\Controller\AppCredentialControllerInterface The app credential controller.
1 call to CredsUtilsTrait::getAppCredentialController()
- CredsUtilsTrait::operationOnCredential in tests/
src/ Traits/ CredsUtilsTrait.php - Perform an operation on the given credential (by index) of the app.
File
- tests/
src/ Traits/ CredsUtilsTrait.php, line 48
Class
- CredsUtilsTrait
- A trait to common functions of Apigee Edge credential entity tests.
Namespace
Drupal\Tests\apigee_edge\TraitsCode
protected function getAppCredentialController(string $owner, string $app_name) : AppCredentialControllerInterface {
return \Drupal::service('apigee_edge.controller.developer_app_credential_factory')
->developerAppCredentialController($owner, $app_name);
}