public function DeveloperAppListBuilderForDeveloper::appsPage in Apigee Edge 8
Redirects users to their Apps page.
This controller assumes that it is only invoked for authenticated users. This is enforced for the 'apigee_edge.user.apps' route with the '_user_is_logged_in' requirement.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse Returns a redirect to the Apps of the currently logged in user.
1 string reference to 'DeveloperAppListBuilderForDeveloper::appsPage'
File
- src/
Entity/ ListBuilder/ DeveloperAppListBuilderForDeveloper.php, line 192
Class
- DeveloperAppListBuilderForDeveloper
- Lists developer apps of a developer on the UI.
Namespace
Drupal\apigee_edge\Entity\ListBuilderCode
public function appsPage() : RedirectResponse {
$options['absolute'] = TRUE;
$url = Url::fromRoute('entity.developer_app.collection_by_developer', [
'user' => $this->currentUser
->id(),
], $options);
return new RedirectResponse($url
->toString(), 302);
}