Search for Id

  1. Search 7.x for Id
  2. Search 9.5.x for Id
  3. Search 8.9.x for Id
  4. Search 10.3.x for Id
  5. Other projects
Title Object type File name Summary
ResourceIdentifierTrait::$resourceType property core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php The JSON:API resource type of the identified resource object.
ResourceIdentifierTrait::getId function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php
ResourceIdentifierTrait::getResourceType function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php
ResourceIdentifierTrait::getTypeName function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php
ResourceObject::$versionIdentifier property core/modules/jsonapi/src/JsonApiResource/ResourceObject.php The resource object's version identifier.
ResourceObject::getVersionIdentifier function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets a version identifier for the ResourceObject.
ResourceResponseSubscriberTest::providerTestResponseFormat function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php Provides data for testing the response format.
ResourceResponseSubscriberTest::providerTestSerialization function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php Provides data to testSerialization().
ResourceResponseTestTrait::collectionHasResourceIdentifier function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Determines if a given resource exists in a list of resources.
ResourceResponseTestTrait::isResourceIdentifier function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Checks if a given array is a resource identifier.
ResourceResponseTestTrait::toResourceIdentifier function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Maps an entity to a resource identifier.
ResourceResponseValidator class core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Response subscriber that validates a JSON:API response.
ResourceResponseValidator.php file core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php
ResourceResponseValidator::$appRoot property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The application's root file path.
ResourceResponseValidator::$logger property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The JSON:API logger channel.
ResourceResponseValidator::$moduleHandler property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The module handler.
ResourceResponseValidator::$validator property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The schema validator.
ResourceResponseValidator::getSubscribedEvents function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php
ResourceResponseValidator::onResponse function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates JSON:API responses.
ResourceResponseValidator::setValidator function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Sets the validator service if available.
ResourceResponseValidator::validateResponse function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates a response against the JSON:API specification.
ResourceResponseValidator::validateSchema function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates a string against a JSON Schema. It logs any possible errors.
ResourceResponseValidator::__construct function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Constructs a ResourceResponseValidator object.
ResourceResponseValidatorTest class core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Tests Drupal\jsonapi\EventSubscriber\ResourceResponseValidator.
ResourceResponseValidatorTest.php file core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php
ResourceResponseValidatorTest::$subscriber property core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php The subscriber under test.
ResourceResponseValidatorTest::createRequest function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a request object.
ResourceResponseValidatorTest::createResponse function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a resource response from arbitrary JSON.
ResourceResponseValidatorTest::setUp function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php
ResourceResponseValidatorTest::testValidateResponse function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Tests validate response.
ResourceResponseValidatorTest::validateResponseProvider function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Provides test cases for testValidateResponse.
ResourceTestBase::$entityTypeId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The tested entity type.
ResourceTestBase::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity ID for the first created entity in testPost().
ResourceTestBase::$resourceConfigId property core/modules/rest/tests/src/Functional/ResourceTestBase.php The REST Resource Config entity ID under test (i.e. a resource type).
ResourceTestBase::$secondCreatedEntityId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity ID for the second created entity in testPost().
ResourceTestBase::$uuidKey property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The UUID key.
ResourceTestBase::decorateResourceIdentifierWithDrupalInternalTargetId function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Adds drupal_internal__target_id to the meta of a resource identifier.
ResourceTestBase::doTestDeleteIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests DELETEing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::doTestPatchIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests PATCHing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::doTestPostIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests POSTing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::getExpectedGetIndividualResourceResponse function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets the expected individual ResourceResponse for GET.
ResourceTestBase::makeNormalizationInvalid function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Makes the given JSON:API document invalid.
ResourceTestBase::testGetIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests GETting an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::testIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests POST/PATCH/DELETE for an individual resource.
ResourceType::$entityTypeId property core/modules/jsonapi/src/ResourceType/ResourceType.php The entity type ID.
ResourceType::getEntityTypeId function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets the entity type ID.
ResourceTypeConverter::PARAM_TYPE_ID constant core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php The route parameter type to match.
ResourceTypeRepositoryTest::getFieldsProvider function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Data provider for testMappingNameConflictCheck.
ResourceTypeRepositoryTest::getProvider function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Data provider for testGet.
ResourceVersionRouteEnhancer::isValidVersionIdentifier function core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Validates the user input.

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