comparison vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/hook/model.module.twig @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
1 /**
2 * Implements hook_{{ plugin_type }}_info().
3 */
4 function {{ machine_name }}_{{ plugin_type }}_info() {
5 return [
6 'foo' => [
7 'id' => 'foo',
8 'label' => t('Foo'),
9 'description' => t('Foo description.'),
10 ],
11 'bar' => [
12 'id' => 'bar',
13 'label' => t('Bar'),
14 'description' => t('Bar description.'),
15 ],
16 ];
17 }