function ConfigEntityTypeTest::providerGetPropertiesToExport

Same name and namespace 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 <a href="/api/drupal/core%21lib%21Drupal%21Core%21Config%21Entity%21ConfigEntityType.php/class/ConfigEntityType/11.x" title="Provides an implementation of a configuration entity type and its metadata." class="local">\Drupal\Core\Config\Entity\ConfigEntityType</a> @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.