Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

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

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/vendor/chi-teck/drupal-code-generator/src/Command/Plugin/Field/Formatter.php

<?php declare(strict_types=1);

namespace DrupalCodeGenerator\Command\Plugin\Field;

use DrupalCodeGenerator\Application;
use DrupalCodeGenerator\Command\Plugin\PluginGenerator;

/**
 * Implements plugin:field:formatter command.
 */
final class Formatter extends PluginGenerator {

  protected string $name = 'plugin:field:formatter';
  protected string $description = 'Generates field formatter plugin';
  protected string $alias = 'field-formatter';
  protected string $templatePath = Application::TEMPLATE_PATH . '/plugin/field/formatter';
  protected string $pluginClassSuffix = 'Formatter';

  /**
   * {@inheritdoc}
   */
  protected function generate(array &$vars): void {
    $this->collectDefault($vars);
    $vars['configurable'] = $this->confirm('Make the formatter configurable?', FALSE);
    $this->addFile('src/Plugin/Field/FieldFormatter/{class}.php', 'formatter');
    if ($vars['configurable']) {
      $this->addSchemaFile()->template('schema');
    }

  }

}

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