function ConfigEntityTypeTest::providerGetPropertiesToExport

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::providerGetPropertiesToExport()
  2. 8.9.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::providerGetPropertiesToExport()
  3. 10 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityTypeTest::providerGetPropertiesToExport()

File

core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php, line 165

Class

ConfigEntityTypeTest
@coversDefaultClass \Drupal\Core\Config\Entity\ConfigEntityType @group Config

Namespace

Drupal\Tests\Core\Config\Entity

Code

public static function providerGetPropertiesToExport() {
    $data = [];
    $data[] = [
        [
            'config_export' => [
                'id',
                'custom_property' => 'customProperty',
            ],
        ],
        [
            'uuid' => 'uuid',
            'langcode' => 'langcode',
            'status' => 'status',
            'dependencies' => 'dependencies',
            'third_party_settings' => 'third_party_settings',
            '_core' => '_core',
            'id' => 'id',
            'custom_property' => 'customProperty',
        ],
    ];
    $data[] = [
        [
            'config_export' => [
                'id',
            ],
            'mergedConfigExport' => [
                'random_key' => 'random_key',
            ],
        ],
        [
            'random_key' => 'random_key',
        ],
    ];
    return $data;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.