Search for object

  1. Search 7.x for object
  2. Search 9.5.x for object
  3. Search 8.9.x for object
  4. Search 10.3.x for object
  5. Other projects
Title Object type File name Summary
ResourceObject::hasField function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Whether the resource object has the given field.
ResourceObject::toUrl function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets a Url for the ResourceObject.
ResourceObject::__construct function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php ResourceObject constructor.
ResourceObjectData class core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Represents the primary data for individual and collection documents.
ResourceObjectData.php file core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php
ResourceObjectData::getAccessible function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Gets only data to be exposed.
ResourceObjectData::getData function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Returns the data for the top-level data member of a JSON:API document.
ResourceObjectData::getMergedLinks function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Merges the object's links with the top-level links.
ResourceObjectData::getMergedMeta function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Merges the object's meta member with the top-level meta member.
ResourceObjectData::getOmissions function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php Gets only data to be omitted.
ResourceObjectData::__construct function core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php ResourceObjectData constructor.
ResourceObjectNormalizationCacher class core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Caches entity normalizations after the response has been sent.
ResourceObjectNormalizationCacher.php file core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php
ResourceObjectNormalizationCacher::$requestStack property core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php The request stack.
ResourceObjectNormalizationCacher::$toCache property core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php The things to cache after the response has been sent.
ResourceObjectNormalizationCacher::$variationCache property core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php The variation cache.
ResourceObjectNormalizationCacher::generateCacheKeys function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Generates the cache keys for a normalization.
ResourceObjectNormalizationCacher::get function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Reads an entity normalization from cache.
ResourceObjectNormalizationCacher::getSubscribedEvents function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php
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::setRequestStack function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Sets the request stack.
ResourceObjectNormalizationCacher::setVariationCache function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Sets the variation cache.
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::$entityFieldManager property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::$entityTypeManager property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::$eventDispatcher property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::buildEmptyNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Builds the empty normalization structure for cache misses.
ResourceObjectNormalizer::doNormalize function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Normalizes an object into a set of arrays/scalars.
ResourceObjectNormalizer::getNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Normalizes an entity using the given fieldset.
ResourceObjectNormalizer::getNormalizationSchema function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Retrieve JSON Schema for the normalization.
ResourceObjectNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::processConfigEntitySchema function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::processContentEntitySchema 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 install.
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

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