Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor3/web/core/modules/action/src/Form/

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/rocksensor3/web/core/modules/action/src/Form/ActionAddForm.php

<?php

namespace Drupal\action\Form;

use Drupal\Core\Form\FormStateInterface;

/**
 * Provides a form for action add forms.
 *
 * @internal
 */
class ActionAddForm extends ActionFormBase {

  /**
   * {@inheritdoc}
   *
   * @param array $form
   *   An associative array containing the structure of the form.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the form.
   * @param string $action_id
   *   The action ID.
   */
  public function buildForm(array $form, FormStateInterface $form_state, $action_id = NULL) {
    $this->entity->setPlugin($action_id);

    // Derive the label and type from the action definition.
    $definition = $this->entity->getPluginDefinition();
    $this->entity->set('label', $definition['label']);
    $this->entity->set('type', $definition['type']);

    return parent::buildForm($form, $form_state);
  }

}

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