Search for object

  1. Search 7.x for object
  2. Search 9.5.x for object
  3. Search 10.3.x for object
  4. Search 11.x for object
  5. Other projects
Title Object type File name Summary
ResourceObjectNormalizationCacher::mergeCacheableDependencies function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Determines the joint cacheability of all provided dependencies.
ResourceObjectNormalizationCacher::onTerminate function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Writes normalizations of entities to cache, if any were created.
ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_BASE constant core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Key for the base subset.
ResourceObjectNormalizationCacher::RESOURCE_CACHE_SUBSET_FIELDS constant core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Key for the fields subset.
ResourceObjectNormalizationCacher::saveOnTerminate function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Adds a normalization to be cached after the response has been sent.
ResourceObjectNormalizationCacher::set function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Writes a normalization to cache.
ResourceObjectNormalizationCacher::setRenderCache function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Sets the render cache service.
ResourceObjectNormalizer class core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Converts the JSON:API module ResourceObject into a JSON:API array structure.
ResourceObjectNormalizer.php file core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::$cacher property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php The entity normalization cacher.
ResourceObjectNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php The interface or class that this Normalizer supports.
ResourceObjectNormalizer::buildEmptyNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Builds the empty normalization structure for cache misses.
ResourceObjectNormalizer::getNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Normalizes an entity using the given fieldset.
ResourceObjectNormalizer::normalize function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::serializeField function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Serializes a given field.
ResourceObjectNormalizer::supportsDenormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()
ResourceObjectNormalizer::__construct function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Constructs a ResourceObjectNormalizer object.
ResourceObjectNormalizerCacherTest class core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php @coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher
@group jsonapi
ResourceObjectNormalizerCacherTest.php file core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceObjectNormalizerCacherTest::$cacher property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The object under test.
ResourceObjectNormalizerCacherTest::$modules property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Modules to enable.
ResourceObjectNormalizerCacherTest::$resourceTypeRepository property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API resource type repository.
ResourceObjectNormalizerCacherTest::$serializer property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API serializer.
ResourceObjectNormalizerCacherTest::setUp function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Tests that link normalization cache information is not lost.
ResourceResponseTestTrait::addOmittedObject function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Add the omitted object to the document or merges it if one already exists.
ResourceResponseTestTrait::errorsToOmittedObject function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Maps error objects into an omitted object.
ResourceResponseTestTrait::mergeOmittedObjects function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Merges the links of two omitted objects and returns a new omitted object.
RouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the route object.
RouteMatchInterface::getRouteObject function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the route object.
RouteMatchTestBase::testGetRouteObject function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteObject
@dataProvider routeMatchProvider
SchemaObjectDoesNotExistException class core/lib/Drupal/Core/Database/SchemaObjectDoesNotExistException.php Exception thrown if an object being modified doesn't exist yet.
SchemaObjectDoesNotExistException.php file core/lib/Drupal/Core/Database/SchemaObjectDoesNotExistException.php
SchemaObjectExistsException class core/lib/Drupal/Core/Database/SchemaObjectExistsException.php Exception thrown if an object being created already exists.
SchemaObjectExistsException.php file core/lib/Drupal/Core/Database/SchemaObjectExistsException.php
SelectComplexTest::testJoinConditionObject function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Test that join conditions can use Condition objects.
serializer.normalizer.resource_object.jsonapi service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Normalizer\ResourceObjectNormalizer
serializer.normalizer.traversable_object.jsonapi_test_data_type service core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.services.yml Drupal\jsonapi_test_data_type\Normalizer\TraversableObjectNormalizer
SessionTestController::getFromSessionObject function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints the stored session value to the screen.
SharedTempStoreTest::$otherObject property core/modules/user/tests/src/Unit/SharedTempStoreTest.php A tempstore object not belonging to the owner.
SharedTempStoreTest::$otherObject property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php A tempstore object not belonging to the owner.
SharedTempStoreTest::$ownObject property core/modules/user/tests/src/Unit/SharedTempStoreTest.php A tempstore object belonging to the owner.
SharedTempStoreTest::$ownObject property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php A tempstore object belonging to the owner.
SharedTempStoreTest::testSetIfOwnerNoObject function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the setIfOwner() method when a key already exists but no object.
SharedTempStoreTest::testSetIfOwnerNoObject function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the setIfOwner() method when a key already exists but no object.
StatementEmpty::fetchObject function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row and returns it as an object.
StatementInterface::fetchObject function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an object.
StatementPrefetch::fetchObject function core/lib/Drupal/Core/Database/StatementPrefetch.php Fetches the next row and returns it as an object.
StorageTestBase::$objects property core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php An array of random stdClass objects.
StringObject class core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Quick class for testing for objects with __toString.

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