ResourceTestBase::$resourceConfigId

Same name in other branches
  1. 9 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::resourceConfigId
  2. 8.9.x core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::resourceConfigId
  3. 11.x core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::resourceConfigId

The REST Resource Config entity ID under test (i.e. a resource type).

The REST Resource plugin ID can be calculated from this.

Type: string

See also

\Drupal\rest\Entity\RestResourceConfig::__construct()

File

core/modules/rest/tests/src/Functional/ResourceTestBase.php, line 70

Class

ResourceTestBase
Subclass this for every REST resource, every format and every auth provider.

Namespace

Drupal\Tests\rest\Functional

Code

protected static $resourceConfigId = NULL;

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