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

Breadcrumb

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

function SystemHooks::updaterInfo

Implements hook_updater_info().

File

core/modules/system/src/Hook/SystemHooks.php, line 163

Class

SystemHooks
Hook implementations for system.

Namespace

Drupal\system\Hook

Code

public function updaterInfo() {
    return [
        'module' => [
            'class' => 'Drupal\\Core\\Updater\\Module',
            'name' => t('Update modules'),
            'weight' => 0,
        ],
        'theme' => [
            'class' => 'Drupal\\Core\\Updater\\Theme',
            'name' => t('Update themes'),
            'weight' => 0,
        ],
    ];
}

API Navigation

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