collectVars($input, $output, $questions); $vars['class'] = Utils::camelize($vars['plugin_label']); $this->addFile() ->path('src/Plugin/views/style/{class}.php') ->template('d8/plugin/views/style-plugin.twig'); $this->addFile() ->path('templates/views-style-' . str_replace('_', '-', $vars['plugin_id']) . '.html.twig') ->template('d8/plugin/views/style-template.twig'); $this->addFile() ->path('{machine_name}.module') ->headerTemplate('d8/file-docs/module.twig') ->template('d8/plugin/views/style-preprocess.twig') ->action('append') ->headerSize(7); $this->addFile() ->path('config/schema/{machine_name}.schema.yml') ->template('d8/plugin/views/style-schema.twig') ->action('append'); } }