3 namespace DrupalCodeGenerator\Command\Drupal_8\Form;
5 use Symfony\Component\Console\Input\InputInterface;
6 use Symfony\Component\Console\Output\OutputInterface;
9 * Implements d8:form:config command.
11 class Config extends Base {
13 protected $name = 'd8:form:config';
14 protected $description = 'Generates a configuration form';
15 protected $alias = 'config-form';
20 protected function interact(InputInterface $input, OutputInterface $output) {
22 'default_class' => 'SettingsForm',
23 'default_permission' => 'administer site configuration',
24 'default_path_prefix' => '/admin',
25 'template' => 'd8/form/config.twig',
27 $this->doInteract($input, $output, $options);