Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/store1/vendor/chi-teck/drupal-code-generator/src/Command/Yml/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/store1/vendor/chi-teck/drupal-code-generator/src/Command/Yml/ModuleInfo.php

<?php declare(strict_types=1);

namespace DrupalCodeGenerator\Command\Yml;

use DrupalCodeGenerator\Application;
use DrupalCodeGenerator\Command\ModuleGenerator;

/**
 * Implements yml:module-info command.
 */
final class ModuleInfo extends ModuleGenerator {

  protected string $name = 'yml:module-info';
  protected string $description = 'Generates a module info yml file';
  protected string $alias = 'module-info';
  protected string $label = 'Info (module)';
  protected string $templatePath = Application::TEMPLATE_PATH . '/yml/module-info';

  /**
   * {@inheritdoc}
   */
  protected function generate(array &$vars): void {
    $this->collectDefault($vars);
    $vars['description'] = $this->ask('Description', 'Module description.', '::validateRequired');
    $vars['package'] = $this->ask('Package', 'Custom');
    $vars['configure'] = $this->ask('Configuration page (route name)');
    $vars['dependencies'] = $this->ask('Dependencies (comma separated)');
    if ($vars['dependencies']) {
      $vars['dependencies'] = \array_map('trim', \explode(',', \strtolower($vars['dependencies'])));
    }
    $this->addFile('{machine_name}.info.yml', 'module-info');
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net