Search for getFields

  1. Search 7.x for getFields
  2. Search 8.9.x for getFields
  3. Search 10.3.x for getFields
  4. Search 11.x for getFields
  5. Other projects
Title Object type File name Summary
AliasingResourceTypeRepository::getFields function core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php
BaseFieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field storage definition.
BaseFieldOverride::getFieldStorageDefinition function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php Returns the field storage definition.
CommentManager::getFields function core/modules/comment/src/CommentManager.php
CommentManagerInterface::getFields function core/modules/comment/src/CommentManagerInterface.php Utility function to return an array of comment fields.
CommentManagerTest::testGetFields function core/modules/comment/tests/src/Unit/CommentManagerTest.php Tests the getFields method.
ConfigImporterFieldPurger::getFieldStoragesToPurge function core/modules/field/src/ConfigImporterFieldPurger.php Gets the list of fields to purge before configuration synchronization.
ContentEntityBase::getFields function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns an array of field names to skip in ::hasTranslationChanges.
ContentEntityBaseUnitTest::providerGetFields function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Data provider for testGetFields().
ContentEntityBaseUnitTest::testGetFields function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::getFields
@dataProvider providerGetFields
ContentModerationState::getFieldsToSkipFromTranslationChangesCheck function core/modules/content_moderation/src/Entity/ContentModerationState.php
DeletedFieldsRepository::getFieldStorageDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepository.php Returns a list of deleted field storage definitions.
DeletedFieldsRepositoryInterface::getFieldStorageDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Returns a list of deleted field storage definitions.
DemoteNode::getFieldsToUpdate function core/modules/node/src/Plugin/Action/DemoteNode.php
EntityChangesDetectionTrait::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php Returns an array of field names to skip when checking for changes.
EntityDefinitionUpdateManager::getFieldStorageDefinition function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Returns a field storage definition ready to be manipulated.
EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Returns a field storage definition ready to be manipulated.
EntityField::getFieldStorageDefinition function core/modules/views/src/Plugin/views/field/EntityField.php Gets the field storage definition.
EntityFieldManager::getFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php Gets the field storage definitions for a content entity type.
EntityFieldManagerInterface::getFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Gets the field storage definitions for a content entity type.
EntityFieldManagerTest::testGetFieldStorageDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldStorageDefinitions() method.
EntityFieldManagerTest::testGetFieldStorageDefinitionsWithCaching function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldStorageDefinitions() method with caching.
EntityViewsData::getFieldStorageDefinitions function core/modules/views/src/EntityViewsData.php Gets the field storage definitions.
FieldableEntity::getFields function core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php Returns all non-deleted field instances attached to a specific entity type.
FieldableEntityInterface::getFields function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of all field item lists.
FieldAPIHandlerTrait::getFieldStorageDefinition function core/modules/views/src/FieldAPIHandlerTrait.php Gets the field storage configuration.
FieldConfig::getFieldStorageDefinition function core/modules/field/src/Entity/FieldConfig.php
FieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the field storage definition.
FieldDefinitionInterface::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the field storage definition.
FieldLayoutBuilder::getFields function core/modules/field_layout/src/FieldLayoutBuilder.php Gets the fields that need to be processed.
FieldStorageDefinitionEvent::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldStorageDefinitionEvent.php The field storage definition.
FieldStorageDefinitionEventSubscriberTrait::getFieldStorageDefinitionEvents function core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php Returns the subscribed events.
FieldTranslationSynchronizer::getFieldSynchronizationSettings function core/modules/content_translation/src/FieldTranslationSynchronizer.php Returns the synchronization settings for the specified field.
FieldTranslationSynchronizer::getFieldSynchronizedProperties function core/modules/content_translation/src/FieldTranslationSynchronizer.php
FieldTranslationSynchronizerInterface::getFieldSynchronizedProperties function core/modules/content_translation/src/FieldTranslationSynchronizerInterface.php Returns the synchronized properties for the specified field definition.
FieldUninstallValidator::getFieldStoragesByModule function core/modules/field/src/FieldUninstallValidator.php Returns all field storages for a specified module.
FieldUpdateActionBase::getFieldsToUpdate function core/lib/Drupal/Core/Field/FieldUpdateActionBase.php Gets an array of values to be set.
FormatterBase::getFieldSetting function core/lib/Drupal/Core/Field/FormatterBase.php Returns the value of a field setting.
FormatterBase::getFieldSettings function core/lib/Drupal/Core/Field/FormatterBase.php Returns the array of field settings.
ImageFieldValidateTest::getFieldSettings function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Returns field settings.
MediaLibraryWidget::getFieldState function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets the field state for the widget.
MigrateMapSaveEvent::getFields function core/modules/migrate/src/Event/MigrateMapSaveEvent.php Gets the fields about to be saved to the map.
PromoteNode::getFieldsToUpdate function core/modules/node/src/Plugin/Action/PromoteNode.php
ResourceObject::getFields function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the ResourceObject's fields.
ResourceType::getFields function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets the attribute and relationship fields of this resource type.
ResourceTypeBuildEvent::getFields function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Gets the current fields of the resource type to be built.
ResourceTypeRepository::getFields function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets the field mapping for the given field names and entity type + bundle.
ResourceTypeRepositoryTest::getFieldsProvider function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Data provider for testMappingNameConflictCheck.
Select::getFields function core/lib/Drupal/Core/Database/Query/Select.php Returns a reference to the fields array for this query.

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