Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 8.9.x for source
  4. Search 10.3.x for source
  5. Other projects
Title Object type File name Summary
ResourceTypeRepository::getByTypeName function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php
ResourceTypeRepository::getFields function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets the field mapping for the given field names and entity type + bundle.
ResourceTypeRepository::getRelatableResourceTypesFromFieldDefinition function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Get relatable resource types from a field definition.
ResourceTypeRepository::isLocatableResourceType function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Whether an entity type + bundle maps to a locatable resource type.
ResourceTypeRepository::isMutableResourceType function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Whether an entity type + bundle maps to a mutable resource type.
ResourceTypeRepository::isReferenceFieldDefinition function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Determines if a given field definition is a reference field.
ResourceTypeRepository::isVersionableResourceType function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Whether an entity type is a versionable resource type.
ResourceTypeRepository::lookupResourceType function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Lookup a resource type by entity type ID and bundle name.
ResourceTypeRepository::__construct function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Instantiates a ResourceTypeRepository object.
ResourceTypeRepositoryInterface interface core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php Provides a repository of all JSON:API resource types.
ResourceTypeRepositoryInterface.php file core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php
ResourceTypeRepositoryInterface::all function core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php Gets all JSON:API resource types.
ResourceTypeRepositoryInterface::get function core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php Gets a specific JSON:API resource type based on entity type ID and bundle.
ResourceTypeRepositoryInterface::getByTypeName function core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php Gets a specific JSON:API resource type based on a supplied typename.
ResourceTypeRepositoryTest class core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php @coversDefaultClass \Drupal\jsonapi\ResourceType\ResourceTypeRepository
@group jsonapi
ResourceTypeRepositoryTest.php file core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
ResourceTypeRepositoryTest::$modules property core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Modules to install.
ResourceTypeRepositoryTest::$resourceTypeRepository property core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php The JSON:API resource type repository under test.
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.
ResourceTypeRepositoryTest::setUp function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
ResourceTypeRepositoryTest::testAll function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php @covers ::all
ResourceTypeRepositoryTest::testCaching function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Ensures that the ResourceTypeRepository's cache does not become stale.
ResourceTypeRepositoryTest::testGet function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php @covers ::get
@dataProvider getProvider
ResourceTypeRepositoryTest::testMappingNameConflictCheck function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Ensures that a naming conflict in mapping causes an exception to be thrown.
ResourceTypeRepositoryTest::testResourceTypeDisabling function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Tests that resource types can be disabled by a build subscriber.
ResourceTypeRepositoryTest::testResourceTypeFieldAliasing function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Tests that resource type fields can be aliased per resource type.
ResourceTypeRepositoryTest::testResourceTypeFieldDisabling function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Tests that resource type fields can be disabled per resource type.
ResourceTypeRepositoryTest::testResourceTypeFieldEnabling function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Tests that resource type fields can be re-enabled per resource type.
ResourceTypeRepositoryTest::testResourceTypeRenaming function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Tests that resource types can be renamed.
ResourceVersionRouteEnhancer class core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Loads an appropriate revision for the requested resource version.
ResourceVersionRouteEnhancer.php file core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php
ResourceVersionRouteEnhancer::$versionNegotiator property core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php The revision ID negotiator.
ResourceVersionRouteEnhancer::CACHE_CONTEXT constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php The cache context by which vary the loaded entity revision.
ResourceVersionRouteEnhancer::enhance function core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Updates the defaults for a route definition based on the request.
ResourceVersionRouteEnhancer::isValidVersionIdentifier function core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Validates the user input.
ResourceVersionRouteEnhancer::RESOURCE_VERSION_QUERY_PARAMETER constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php The query parameter for providing a version (revision) value.
ResourceVersionRouteEnhancer::REVISION_ID_KEY constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php The route default parameter name.
ResourceVersionRouteEnhancer::VERSION_IDENTIFIER_VALIDATOR constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Resource version validation regex.
ResourceVersionRouteEnhancer::WORKING_COPIES_REQUESTED constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php A route parameter key which indicates that working copies were requested.
ResourceVersionRouteEnhancer::__construct function core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php ResourceVersionRouteEnhancer constructor.
ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersMultipleSources function core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php Tests responsive image formatter on node display with one and two sources.
ResponsiveImageStyleResourceTestBase class core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php ResourceTestBase for ResponsiveImageStyle entity.
ResponsiveImageStyleResourceTestBase.php file core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php
ResponsiveImageStyleResourceTestBase::$effectUuid property core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php The effect UUID.
ResponsiveImageStyleResourceTestBase::$entity property core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php The ResponsiveImageStyle entity.
ResponsiveImageStyleResourceTestBase::$entityTypeId property core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php The tested entity type.
ResponsiveImageStyleResourceTestBase::$modules property core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php Modules to install.
ResponsiveImageStyleResourceTestBase::createEntity function core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php Creates the entity to be tested.
ResponsiveImageStyleResourceTestBase::getExpectedNormalizedEntity function core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php Returns the expected normalization of the entity.

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