function ConfigEntityBaseUnitTest::providerTestSetAndPreSaveWithPluginCollections

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityBaseUnitTest::providerTestSetAndPreSaveWithPluginCollections()

File

core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php, line 719

Class

ConfigEntityBaseUnitTest
@coversDefaultClass \Drupal\Core\Config\Entity\ConfigEntityBase @group Config

Namespace

Drupal\Tests\Core\Config\Entity

Code

public static function providerTestSetAndPreSaveWithPluginCollections() : array {
    return [
        'Not syncing' => [
            FALSE,
            'new_value',
        ],
        'Syncing' => [
            TRUE,
            'original_value',
        ],
    ];
}

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