projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d8
/
hook
/
updater_info.twig
1
/**
2
* Implements hook_updater_info().
3
*/
4
function {{ machine_name }}_updater_info() {
5
return [
6
'module' => [
7
'class' => 'Drupal\Core\Updater\Module',
8
'name' => t('Update modules'),
9
'weight' => 0,
10
],
11
'theme' => [
12
'class' => 'Drupal\Core\Updater\Theme',
13
'name' => t('Update themes'),
14
'weight' => 0,
15
],
16
];
17
}