function EntityQueryRelationshipTest::providerTestInvalidFieldName

Data provider for testInvalidFieldName().

File

core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php, line 250

Class

EntityQueryRelationshipTest
Tests the Entity Query relationship API.

Namespace

Drupal\KernelTests\Core\Entity

Code

public static function providerTestInvalidFieldName() : array {
    return [
        [
            'non_existent_field_name.entity:user.name.value',
        ],
        [
            'user_id.entity:user.non_existent_field_name.value',
        ],
    ];
}

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