X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fchi-teck%2Fdrupal-code-generator%2Fsrc%2FCommand%2FDrupal_8%2FYml%2FLinks%2FMenu.php;fp=vendor%2Fchi-teck%2Fdrupal-code-generator%2Fsrc%2FCommand%2FDrupal_8%2FYml%2FLinks%2FMenu.php;h=e8251a19e868032975dab607d979af888528f96f;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=0000000000000000000000000000000000000000;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/chi-teck/drupal-code-generator/src/Command/Drupal_8/Yml/Links/Menu.php b/vendor/chi-teck/drupal-code-generator/src/Command/Drupal_8/Yml/Links/Menu.php new file mode 100644 index 000000000..e8251a19e --- /dev/null +++ b/vendor/chi-teck/drupal-code-generator/src/Command/Drupal_8/Yml/Links/Menu.php @@ -0,0 +1,34 @@ +setValidator([Utils::class, 'validateMachineName']); + + $this->collectVars($input, $output, $questions); + + $this->addFile() + ->path('{machine_name}.links.menu.yml') + ->template('d8/yml/links.menu.twig'); + } + +}