Chris@0: /** Chris@0: * Implements hook_updater_info(). Chris@0: */ Chris@0: function {{ machine_name }}_updater_info() { Chris@0: return [ Chris@0: 'module' => [ Chris@0: 'class' => 'Drupal\Core\Updater\Module', Chris@0: 'name' => t('Update modules'), Chris@0: 'weight' => 0, Chris@0: ], Chris@0: 'theme' => [ Chris@0: 'class' => 'Drupal\Core\Updater\Theme', Chris@0: 'name' => t('Update themes'), Chris@0: 'weight' => 0, Chris@0: ], Chris@0: ]; Chris@0: }