protected static property PathAliasResourceTestBase::$firstCreatedEntityId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::firstCreatedEntityId
- 9 core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::firstCreatedEntityId
The entity ID for the first created entity in testPost().
The default value of 2 should work for most content entities.
Type: string|int
Overrides EntityResourceTestBase::$firstCreatedEntityId
See also
::testPost()
File
- core/
modules/ path_alias/ tests/ src/ Functional/ Rest/ PathAliasResourceTestBase.php, line 32
Class
- PathAliasResourceTestBase
- Base class for path_alias EntityResource tests.
Namespace
Drupal\Tests\path_alias\Functional\RestCode
protected static $firstCreatedEntityId = 3;