Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html1/bbp/web/modules/contrib/migrate_plus/src/Plugin/migrate/process/

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/html1/bbp/web/modules/contrib/migrate_plus/src/Plugin/migrate/process/MultipleValues.php

<?php

namespace Drupal\migrate_plus\Plugin\migrate\process;

use Drupal\migrate\MigrateExecutableInterface;
use Drupal\migrate\ProcessPluginBase;
use Drupal\migrate\Row;

/**
 * Treat an array of values as a separate / individual values.
 *
 * @code
 * process:
 *   field_authors:
 *     -
 *       plugin: explode
 *       delimiter: ', '
 *       source: authors
 *     -
 *       plugin: single_value
 *     -
 *       plugin: callback
 *       callable: custom_sort_authors
 *     -
 *       plugin: multiple_values
 * @endcode
 *
 * Assume the "authors" field contains comma separated author names.
 *
 * We split the names into multiple values and then use the "single_value"
 * plugin to treat them as a single array of author names. After that, we
 * pass the values through a custom sort. Callback multiple setting is false. To
 * convert from a single value to multiple, use the "multiple_values" plugin. It
 * will make the next plugin treat the values individually instead of an array
 * of values.
 *
 * @MigrateProcessPlugin(
 *   id = "multiple_values",
 *   handle_multiples = TRUE
 * )
 */
class MultipleValues extends ProcessPluginBase {

  /**
   * {@inheritdoc}
   */
  public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
    return $value;
  }

  /**
   * {@inheritdoc}
   */
  public function multiple() {
    return TRUE;
  }

}

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