Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/musik/web/modules/contrib/metatag/tests/src/Kernel/Migrate/d6/

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/musik/web/modules/contrib/metatag/tests/src/Kernel/Migrate/d6/NodewordsFieldTest.php

<?php

namespace Drupal\Tests\metatag\Kernel\Migrate\d6;

use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;

/**
 * Tests Nodewords-D6 field source plugin.
 *
 * Make sure that the migration system converts Nodewords' "type" value into a
 * string that Metatag can work with.
 *
 * @see Drupal\metatag\Plugin\migrate\source\d6\NodewordsField::initializeIterator()
 *
 * @group metatag
 *
 * @covers \Drupal\metatag\Plugin\migrate\source\d6\NodewordsField
 */
class NodewordsFieldTest extends MigrateSqlSourceTestBase {

  /**
   * {@inheritdoc}
   */
  public static $modules = ['metatag', 'migrate_drupal', 'token'];

  /**
   * {@inheritdoc}
   */
  public function providerSource() {
    return [
      [
        // Example source data for the test. This test is focused on making sure
        // that Nodewords' integer values are converted to Metatag's strings.
        [
          'nodewords' => [
            // This represents a node.
            [
              'type' => '5',
            ],
            // This represents a taxonomy term.
            [
              'type' => '6',
            ],
            // This represents a user.
            [
              'type' => '8',
            ],
          ],
        ],
        // Expected results after going through the conversion process. After
        // going through the initializeIterator() method, this is what the
        // 'nodewords' value of the database's (faked) contents above should be
        // turned into.
        [
          [
            'entity_type' => 'node',
            'type' => '5',
          ],
          [
            'entity_type' => 'taxonomy_term',
            'type' => '6',
          ],
          [
            'entity_type' => 'user',
            'type' => '8',
          ],
        ],
      ],
    ];
  }

}

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