Search for source

  1. Search 7.x for source
  2. Search 8.9.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
ResourceTypeConverter::PARAM_TYPE_ID constant core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php The route parameter type to match.
ResourceTypeConverter::__construct function core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php ResourceTypeConverter constructor.
ResourceTypeField class core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Abstract value object containing all metadata for a JSON:API resource field.
ResourceTypeField.php file core/modules/jsonapi/src/ResourceType/ResourceTypeField.php
ResourceTypeField::$enabled property core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field is disabled.
ResourceTypeField::$hasOne property core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field can only have one value.
ResourceTypeField::$internalName property core/modules/jsonapi/src/ResourceType/ResourceTypeField.php The internal field name.
ResourceTypeField::$publicName property core/modules/jsonapi/src/ResourceType/ResourceTypeField.php The public field name.
ResourceTypeField::disabled function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Gets a new instance of the field that is disabled.
ResourceTypeField::getInternalName function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Gets the internal name of the field.
ResourceTypeField::getPublicName function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Gets the public name of the field.
ResourceTypeField::hasMany function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field can have many values.
ResourceTypeField::hasOne function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field can only have one value.
ResourceTypeField::isFieldEnabled function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field is enabled.
ResourceTypeField::withPublicName function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Establishes a new public name for the field.
ResourceTypeField::__construct function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php ResourceTypeField constructor.
ResourceTypeRelationship class core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php Specialization of a ResourceTypeField to represent a resource relationship.
ResourceTypeRelationship.php file core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php
ResourceTypeRelationship::$relatableResourceTypes property core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php The resource type to which this relationships can relate.
ResourceTypeRelationship::disabled function core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php Gets a new instance of the field that is disabled.
ResourceTypeRelationship::getRelatableResourceTypes function core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php Gets the relatable resource types.
ResourceTypeRelationship::withPublicName function core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php Establishes a new public name for the field.
ResourceTypeRelationship::withRelatableResourceTypes function core/modules/jsonapi/src/ResourceType/ResourceTypeRelationship.php Establishes the relatable resource types of this field.
ResourceTypeRepository class core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Provides a repository of all JSON:API resource types.
ResourceTypeRepository.php file core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php
ResourceTypeRepository::$cache property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php The cache backend.
ResourceTypeRepository::$cacheTags property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Cache tags used for caching the repository.
ResourceTypeRepository::$entityFieldManager property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php The entity field manager.
ResourceTypeRepository::$entityTypeBundleInfo property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php The bundle manager.
ResourceTypeRepository::$entityTypeManager property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php The entity type manager.
ResourceTypeRepository::$eventDispatcher property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php The event dispatcher.
ResourceTypeRepository::all function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets all JSON:API resource types.
ResourceTypeRepository::calculateRelatableResourceTypes function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Calculates relatable JSON:API resource types for a given resource type.
ResourceTypeRepository::createResourceType function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Creates a ResourceType value object for the given entity type + bundle.
ResourceTypeRepository::get function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets a specific JSON:API resource type based on entity type ID and bundle.
ResourceTypeRepository::getAllBundlesForEntityType function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets all bundle IDs for a given entity type.
ResourceTypeRepository::getAllFieldNames function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets all field names for a given entity type and bundle.
ResourceTypeRepository::getByTypeName function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets a specific JSON:API resource type based on a supplied typename.
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.

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