annotate vendor/chi-teck/drupal-code-generator/templates/d8/hook/updater_info.twig @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
rev   line source
Chris@0 1 /**
Chris@0 2 * Implements hook_updater_info().
Chris@0 3 */
Chris@0 4 function {{ machine_name }}_updater_info() {
Chris@0 5 return [
Chris@0 6 'module' => [
Chris@0 7 'class' => 'Drupal\Core\Updater\Module',
Chris@0 8 'name' => t('Update modules'),
Chris@0 9 'weight' => 0,
Chris@0 10 ],
Chris@0 11 'theme' => [
Chris@0 12 'class' => 'Drupal\Core\Updater\Theme',
Chris@0 13 'name' => t('Update themes'),
Chris@0 14 'weight' => 0,
Chris@0 15 ],
Chris@0 16 ];
Chris@0 17 }