Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UpdateController.php

function UpdateController::__construct

Constructs update status data.

Parameters

\Drupal\update\UpdateManagerInterface $update_manager: Update Manager Service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

File

core/modules/update/src/Controller/UpdateController.php, line 38

Class

UpdateController
Controller routines for update routes.

Namespace

Drupal\update\Controller

Code

public function __construct(UpdateManagerInterface $update_manager, RendererInterface $renderer) {
    $this->updateManager = $update_manager;
    $this->renderer = $renderer;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal