EntityResourceTestBase::$uniqueFieldNames
A list of fields that need a unique value.
This is for each new each entity created by a POST request.
Type: string[]
File
-
core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php, line 99
Class
- EntityResourceTestBase
- Defines a base class for testing all entity resources.
Namespace
Drupal\Tests\rest\Functional\EntityResourceCode
protected static $uniqueFieldNames = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.