Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/store/web/modules/contrib/address/

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/modules/contrib/address/address.views.inc

<?php

/**
 * @file
 * Provide Views data for the Address module.
 *
 * @ingroup views_module_handlers
 */

use Drupal\field\FieldStorageConfigInterface;

/**
 * Implements hook_field_views_data().
 *
 * Views integration for address fields.
 */
function address_field_views_data(FieldStorageConfigInterface $field) {
  $data = views_field_default_views_data($field);
  $field_type = $field->getType();
  $field_name = $field->getName();
  if ($field_type == 'address') {
    $columns = [
      'country_code' => 'country',
      'administrative_area' => 'subdivision',
      'locality' => 'subdivision',
      'dependent_locality' => 'subdivision',
      'postal_code' => 'standard',
      'sorting_code' => 'standard',
      'address_line1' => 'standard',
      'address_line2' => 'standard',
      'organization' => 'standard',
      'given_name' => 'standard',
      'additional_name' => 'standard',
      'family_name' => 'standard',
    ];
    foreach ($data as $table_name => $table_data) {
      foreach ($columns as $column => $plugin_id) {
        $data[$table_name][$field_name . '_' . $column]['field'] = [
          'id' => $plugin_id,
          'field_name' => $field_name,
          'property' => $column,
        ];
      }
      $data[$table_name][$field_name . '_country_code']['filter']['id'] = 'country';
      $data[$table_name][$field_name . '_country_code']['sort']['id'] = 'country';
      $data[$table_name][$field_name . '_administrative_area']['filter']['id'] = 'administrative_area';
    }
  }
  elseif ($field_type == 'address_country') {
    foreach ($data as $table_name => $table_data) {
      $data[$table_name][$field_name . '_value']['field'] = [
        'id' => 'country',
        'field_name' => $field_name,
        'property' => 'value',
      ];
      $data[$table_name][$field_name . '_value']['filter']['id'] = 'country';
      $data[$table_name][$field_name . '_value']['sort']['id'] = 'country';
    }
  }

  return $data;
}

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