Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/store/web/core/themes/olivero/src/

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/store/web/core/themes/olivero/src/OliveroPreRender.php

<?php

namespace Drupal\olivero;

use Drupal\Core\Security\TrustedCallbackInterface;

/**
 * Implements trusted prerender callbacks for the Olivero theme.
 *
 * @internal
 */
class OliveroPreRender implements TrustedCallbackInterface {

  /**
   * Prerender callback for text_format elements.
   */
  public static function textFormat($element) {
    $element['format']['#attributes']['class'][] = 'filter-wrapper';
    $element['format']['format']['#wrapper_attributes']['class'][] = 'form-item--editor-format';
    $element['format']['format']['#attributes']['class'][] = 'filter-list';
    $element['format']['format']['#attributes']['class'][] = 'form-element--small';
    $element['format']['format']['#attributes']['class'][] = 'form-element--editor-format';
    $element['format']['guidelines']['#attributes']['class'][] = 'filter-guidelines';
    $element['format']['help']['#attributes']['class'][] = 'filter-help';
    return $element;
  }

  /**
   * Prerender callback for status_messages placeholder.
   *
   * @param array $element
   *   A renderable array.
   *
   * @return array
   *   The updated renderable array containing the placeholder.
   */
  public static function messagePlaceholder(array $element) {
    if (isset($element['fallback']['#markup'])) {
      $element['fallback']['#markup'] = '<div data-drupal-messages-fallback class="hidden messages-list"></div>';
    }
    return $element;
  }

  /**
   * {@inheritdoc}
   */
  public static function trustedCallbacks() {
    return [
      'textFormat',
      'messagePlaceholder',
    ];
  }

}

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