ResourceTestBase::decorateExpectedResponseForIncludedFields |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
Decorates the expected response with included data and cache metadata. |
ResourceTestBase::doTestSparseFieldSets |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
Tests sparse field sets. |
ResourceTestBase::entityFieldAccess |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
Checks access for the given field operation on the given entity. |
ResourceTestBase::getRelationshipFieldNames |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
Gets a list of public relationship names for the resource type under test. |
ResourceTestBase::getSparseFieldSets |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
Returns an array of sparse fields sets to test. |
ResourceTestBase::isReferenceFieldDefinition |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
Determines if a given field definition is a reference field. |
ResourceTestBase::setUpFields |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
Sets up additional fields for testing. |
ResourceType::$fieldMapping |
property |
core/modules/jsonapi/src/ResourceType/ResourceType.php |
The mapping for field aliases: keys=public names, values=internal names. |
ResourceType::$fields |
property |
core/modules/jsonapi/src/ResourceType/ResourceType.php |
The list of fields on the underlying entity type + bundle. |
ResourceType::$relatableResourceTypesByField |
property |
core/modules/jsonapi/src/ResourceType/ResourceType.php |
An array of arrays of relatable resource types, keyed by public field name. |
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::getRelatableResourceTypesByField |
function |
core/modules/jsonapi/src/ResourceType/ResourceType.php |
Get all resource types with which the given field may have a relationship. |
ResourceType::hasField |
function |
core/modules/jsonapi/src/ResourceType/ResourceType.php |
Checks if the field exists. |
ResourceType::isFieldEnabled |
function |
core/modules/jsonapi/src/ResourceType/ResourceType.php |
Checks if a field is enabled or not. |
ResourceTypeBuildEvent::$fields |
property |
core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php |
The fields of the resource type to be built. |
ResourceTypeBuildEvent::disableField |
function |
core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php |
Disables the given field on the resource type to be built. |
ResourceTypeBuildEvent::enableField |
function |
core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php |
Enables the given field on 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::setPublicFieldName |
function |
core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php |
Sets the public name of the given field on the resource type to be built. |
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::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. |
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::enabled |
function |
core/modules/jsonapi/src/ResourceType/ResourceTypeField.php |
Gets a new instance of the field that is enabled. |
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. |
ResourceTypeRepository::$entityFieldManager |
property |
core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php |
The entity field manager. |
ResourceTypeRepository::getAllFieldNames |
function |
core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php |
Gets all field names for a given entity type and bundle. |
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::isReferenceFieldDefinition |
function |
core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php |
Determines if a given field definition is a reference field. |
ResourceTypeRepositoryTest::getFieldsProvider |
function |
core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php |
Data provider for testMappingNameConflictCheck. |
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. |
ResponsiveImageConfigUpdater::processResponsiveImageField |
function |
core/modules/responsive_image/src/ResponsiveImageConfigUpdater.php |
Processes responsive image type fields. |
ResponsiveImageFieldDisplayTest |
class |
core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php |
Tests responsive image display formatter. |
ResponsiveImageFieldDisplayTest.php |
file |
core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php |
|