You are here

protected function AppListBuilder::checkAppCredentialWarnings in Apigee Edge 8

Checks credentials of an app and returns warnings about them.

Parameters

\Drupal\apigee_edge\Entity\AppInterface $app: The app entity to be checked.

Return value

array An associative array that contains information about the revoked credentials and revoked or pending API products in a credential.

1 call to AppListBuilder::checkAppCredentialWarnings()
AppListBuilder::buildWarningRow in src/Entity/ListBuilder/AppListBuilder.php
Builds a warning row for an app in the entity listing.

File

src/Entity/ListBuilder/AppListBuilder.php, line 363

Class

AppListBuilder
General app list builder for developer and team apps.

Namespace

Drupal\apigee_edge\Entity\ListBuilder

Code

protected function checkAppCredentialWarnings(AppInterface $app) : array {
  return $this->appWarningsChecker
    ->getWarnings($app);
}