protected function AppListBuilder::generateCssIdForApp in Apigee Edge 8
Generates a unique CSS id for an app.
Parameters
\Drupal\apigee_edge\Entity\AppInterface $app: App entity.
Return value
string A unique CSS id for the app.
2 calls to AppListBuilder::generateCssIdForApp()
- AppListBuilder::getCssIdForInfoRow in src/
Entity/ ListBuilder/ AppListBuilder.php - Returns the CSS ID of the app info row.
- AppListBuilder::getCssIdForWarningRow in src/
Entity/ ListBuilder/ AppListBuilder.php - Returns the CSS ID of the app warning row.
1 method overrides AppListBuilder::generateCssIdForApp()
- DeveloperAppListBuilderForDeveloper::generateCssIdForApp in src/
Entity/ ListBuilder/ DeveloperAppListBuilderForDeveloper.php - Generates a unique CSS id for an app.
File
- src/
Entity/ ListBuilder/ AppListBuilder.php, line 376
Class
- AppListBuilder
- General app list builder for developer and team apps.
Namespace
Drupal\apigee_edge\Entity\ListBuilderCode
protected function generateCssIdForApp(AppInterface $app) : string {
// App id (UUID) is unique by default.
return Html::getId($app
->getAppId());
}