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
ResourceType::getFieldByInternalName function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets a particular attribute or relationship field by internal field name.
ResourceType::getFieldByPublicName function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets a particular attribute or relationship field by public field name.
ResourceType::getFields function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets the attribute and relationship fields of this resource type.
ResourceType::getInternalName function core/modules/jsonapi/src/ResourceType/ResourceType.php Translates the public field name to the entity field name.
ResourceType::getPath function core/modules/jsonapi/src/ResourceType/ResourceType.php Get the resource path.
ResourceType::getPublicName function core/modules/jsonapi/src/ResourceType/ResourceType.php Translates the entity field name to the public field name.
ResourceType::getRelatableResourceTypes function core/modules/jsonapi/src/ResourceType/ResourceType.php Get all resource types with which this type may have a relationship.
ResourceType::getRelatableResourceTypesByField function core/modules/jsonapi/src/ResourceType/ResourceType.php Get all resource types with which the given field may have a relationship.
ResourceType::getTypeName function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets the type name.
ResourceType::hasField function core/modules/jsonapi/src/ResourceType/ResourceType.php Checks if the field exists.
ResourceType::includeCount function core/modules/jsonapi/src/ResourceType/ResourceType.php Determine whether to include a collection count.
ResourceType::isFieldEnabled function core/modules/jsonapi/src/ResourceType/ResourceType.php Checks if a field is enabled or not.
ResourceType::isInternal function core/modules/jsonapi/src/ResourceType/ResourceType.php Whether this resource type is internal.
ResourceType::isLocatable function core/modules/jsonapi/src/ResourceType/ResourceType.php Whether resources of this resource type are locatable.
ResourceType::isMutable function core/modules/jsonapi/src/ResourceType/ResourceType.php Whether resources of this resource type are mutable.
ResourceType::isVersionable function core/modules/jsonapi/src/ResourceType/ResourceType.php Whether resources of this resource type are versionable.
ResourceType::setRelatableResourceTypes function core/modules/jsonapi/src/ResourceType/ResourceType.php Sets the relatable resource types.
ResourceType::TYPE_NAME_URI_PATH_SEPARATOR constant core/modules/jsonapi/src/ResourceType/ResourceType.php A string which is used as path separator in resource type names.
ResourceType::__construct function core/modules/jsonapi/src/ResourceType/ResourceType.php Instantiates a ResourceType object.
ResourceTypeAttribute class core/modules/jsonapi/src/ResourceType/ResourceTypeAttribute.php Specialization of a ResourceTypeField to represent a resource type attribute.
ResourceTypeAttribute.php file core/modules/jsonapi/src/ResourceType/ResourceTypeAttribute.php
ResourceTypeBuildEvent class core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php An event used to configure the construction of a JSON:API resource type.
ResourceTypeBuildEvent.php file core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php
ResourceTypeBuildEvent::$disabled property core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Whether the JSON:API resource type to be built should be disabled.
ResourceTypeBuildEvent::$fields property core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php The fields of the resource type to be built.
ResourceTypeBuildEvent::$resourceTypeName property core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php The JSON:API resource type name of the instance to be built.
ResourceTypeBuildEvent::createFromEntityTypeAndBundle function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Creates a new ResourceTypeBuildEvent.
ResourceTypeBuildEvent::disableField function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Disables the given field on the resource type to be built.
ResourceTypeBuildEvent::disableResourceType function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Disables the resource type to be built.
ResourceTypeBuildEvent::getFields function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Gets the current fields of the resource type to be built.
ResourceTypeBuildEvent::getResourceTypeName function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Gets current resource type name of the resource type to be built.
ResourceTypeBuildEvent::resourceTypeShouldBeDisabled function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Whether the resource type to be built should be disabled.
ResourceTypeBuildEvent::setPublicFieldName function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Sets the public name of the given field on the resource type to be built.
ResourceTypeBuildEvent::setResourceTypeName function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Sets the name of the resource type to be built.
ResourceTypeBuildEvent::__construct function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php ResourceTypeBuildEvent constructor.
ResourceTypeBuildEvents class core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvents.php Contains all events emitted during the resource type build process.
ResourceTypeBuildEvents.php file core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvents.php
ResourceTypeBuildEvents::BUILD constant core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvents.php Emitted during the resource type build process.
ResourceTypeBuildEventSubscriber class core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php Event subscriber which tests disabling resource types.
ResourceTypeBuildEventSubscriber.php file core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php
ResourceTypeBuildEventSubscriber::aliasResourceTypeFields function core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php Aliases any resource type fields that have been aliased by a test.
ResourceTypeBuildEventSubscriber::disableResourceType function core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php Disables any resource types that have been disabled by a test.
ResourceTypeBuildEventSubscriber::disableResourceTypeFields function core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php Disables any resource type fields that have been aliased by a test.
ResourceTypeBuildEventSubscriber::getSubscribedEvents function core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php
ResourceTypeBuildEventSubscriber::renameResourceType function core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php Renames any resource types that have been renamed by a test.
ResourceTypeConverter class core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php Parameter converter for upcasting JSON:API resource type names to objects.
ResourceTypeConverter.php file core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php
ResourceTypeConverter::$resourceTypeRepository property core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php The JSON:API resource type repository.
ResourceTypeConverter::applies function core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php Determines if the converter applies to a specific route and variable.
ResourceTypeConverter::convert function core/modules/jsonapi/src/ParamConverter/ResourceTypeConverter.php Converts path variables to their corresponding objects.

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