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\EntityCode
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.