Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceTypeRepository::$cacheTags | property | core/ |
Cache tags used for caching the repository. |
ResourceTypeRepository::$entityFieldManager | property | core/ |
The entity field manager. |
ResourceTypeRepository::$entityTypeBundleInfo | property | core/ |
The bundle manager. |
ResourceTypeRepository::$entityTypeManager | property | core/ |
The entity type manager. |
ResourceTypeRepository::$eventDispatcher | property | core/ |
The event dispatcher. |
ResourceTypeRepository::all | function | core/ |
Gets all JSON:API resource types. |
ResourceTypeRepository::calculateRelatableResourceTypes | function | core/ |
Calculates relatable JSON:API resource types for a given resource type. |
ResourceTypeRepository::createResourceType | function | core/ |
Creates a ResourceType value object for the given entity type + bundle. |
ResourceTypeRepository::get | function | core/ |
Gets a specific JSON:API resource type based on entity type ID and bundle. |
ResourceTypeRepository::getAllBundlesForEntityType | function | core/ |
Gets all bundle IDs for a given entity type. |
ResourceTypeRepository::getAllFieldNames | function | core/ |
Gets all field names for a given entity type and bundle. |
ResourceTypeRepository::getByTypeName | function | core/ |
Gets a specific JSON:API resource type based on a supplied typename. |
ResourceTypeRepository::getFieldMapping | function | core/ |
Gets the field mapping for the given field names and entity type + bundle. |
ResourceTypeRepository::getFields | function | core/ |
Gets the field mapping for the given field names and entity type + bundle. |
ResourceTypeRepository::getRelatableResourceTypesFromFieldDefinition | function | core/ |
Get relatable resource types from a field definition. |
ResourceTypeRepository::isLocatableResourceType | function | core/ |
Whether an entity type + bundle maps to a locatable resource type. |
ResourceTypeRepository::isMutableResourceType | function | core/ |
Whether an entity type + bundle maps to a mutable resource type. |
ResourceTypeRepository::isReferenceFieldDefinition | function | core/ |
Determines if a given field definition is a reference field. |
ResourceTypeRepository::isVersionableResourceType | function | core/ |
Whether an entity type is a versionable resource type. |
ResourceTypeRepository::__construct | function | core/ |
Instantiates a ResourceTypeRepository object. |
ResourceTypeRepositoryInterface | interface | core/ |
Provides a repository of all JSON:API resource types. |
ResourceTypeRepositoryInterface.php | file | core/ |
|
ResourceTypeRepositoryInterface::all | function | core/ |
Gets all JSON:API resource types. |
ResourceTypeRepositoryInterface::get | function | core/ |
Gets a specific JSON:API resource type based on entity type ID and bundle. |
ResourceTypeRepositoryInterface::getByTypeName | function | core/ |
Gets a specific JSON:API resource type based on a supplied typename. |
ResourceTypeRepositoryTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\ResourceType\ResourceTypeRepository @group jsonapi |
ResourceTypeRepositoryTest.php | file | core/ |
|
ResourceTypeRepositoryTest::$modules | property | core/ |
Modules to enable. |
ResourceTypeRepositoryTest::$resourceTypeRepository | property | core/ |
The JSON:API resource type repository under test. |
ResourceTypeRepositoryTest::getFieldMappingProvider | function | core/ |
Data provider for testGetFieldMapping. |
ResourceTypeRepositoryTest::getProvider | function | core/ |
Data provider for testGet. |
ResourceTypeRepositoryTest::setUp | function | core/ |
|
ResourceTypeRepositoryTest::testAll | function | core/ |
@covers ::all |
ResourceTypeRepositoryTest::testCaching | function | core/ |
Ensures that the ResourceTypeRepository's cache does not become stale. |
ResourceTypeRepositoryTest::testGet | function | core/ |
@covers ::get @dataProvider getProvider |
ResourceTypeRepositoryTest::testMappingNameConflictCheck | function | core/ |
Ensures that a naming conflict in the mapping causes an exception to be thrown. |
ResourceTypeRepositoryTest::testResourceTypeDisabling | function | core/ |
Tests that resource types can be disabled by a build subscriber. |
ResourceTypeRepositoryTest::testResourceTypeFieldAliasing | function | core/ |
Tests that resource type fields can be aliased per resource type. |
ResourceTypeRepositoryTest::testResourceTypeFieldDisabling | function | core/ |
Tests that resource type fields can be disabled per resource type. |
ResourceTypeTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\ResourceType\ResourceType @group jsonapi |
ResourceTypeTest.php | file | core/ |
|
ResourceTypeTest::$modules | property | core/ |
Modules to enable. |
ResourceTypeTest::testUpdateDeprecatedFieldMapping | function | core/ |
Tests construction of a ResourceType using a deprecated $fields argument. |
ResourceVersionRouteEnhancer | class | core/ |
Loads an appropriate revision for the requested resource version. |
ResourceVersionRouteEnhancer.php | file | core/ |
|
ResourceVersionRouteEnhancer::$versionNegotiator | property | core/ |
The revision ID negotiator. |
ResourceVersionRouteEnhancer::CACHE_CONTEXT | constant | core/ |
The cache context by which vary the loaded entity revision. |
ResourceVersionRouteEnhancer::enhance | function | core/ |
|
ResourceVersionRouteEnhancer::isValidVersionIdentifier | function | core/ |
Validates the user input. |
ResourceVersionRouteEnhancer::RESOURCE_VERSION_QUERY_PARAMETER | constant | core/ |
The query parameter for providing a version (revision) value. |
Pagination
- Previous page
- Page 39
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.