Search for getField

  1. Search 7.x for getField
  2. Search 8.9.x for getField
  3. Search 10.3.x for getField
  4. Search 11.x for getField
  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 Gets the field mapping for the given field names and entity type + bundle.
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.
Comment::getFieldName function core/modules/comment/src/Entity/Comment.php Returns the name of the field the comment is attached to.
CommentInterface::getFieldName function core/modules/comment/src/CommentInterface.php Returns the name of the field the comment is attached to.
CommentManager::getFields function core/modules/comment/src/CommentManager.php Utility function to return an array of comment fields.
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::getFieldDefinition function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getFieldDefinitions function core/lib/Drupal/Core/Entity/ContentEntityBase.php
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 Returns an array of field names to skip in ::hasTranslationChanges.
ContentTranslationHandler::getFieldDefinitions function core/modules/content_translation/src/ContentTranslationHandler.php Returns a set of field definitions to be used to store metadata items.
ContentTranslationHandlerInterface::getFieldDefinitions function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Returns a set of field definitions to be used to store metadata items.
DataFieldRow::getFieldKeyAlias function core/modules/rest/src/Plugin/views/row/DataFieldRow.php Return an alias for a field ID, as set in the options form.
DateField::getFieldFormatterMap function core/modules/datetime/src/Plugin/migrate/field/DateField.php Get a map between D6 formatters and D8 formatters for this field type.
DateField::getFieldType function core/modules/datetime/src/Plugin/migrate/field/DateField.php Computes the destination type of a migrated field.
DateField::getFieldWidgetMap function core/modules/datetime/src/Plugin/migrate/field/DateField.php Get a map between D6 and D8 widgets for this field type.
DbDumpCommand::getFieldOrder function core/lib/Drupal/Core/Command/DbDumpCommand.php Gets field ordering for a given table.
DefaultTableMapping::getFieldColumnName function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Generates a column name for a field property.
DefaultTableMapping::getFieldNames function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Gets a list of names for entity fields stored in the specified table.
DefaultTableMapping::getFieldTableName function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Gets the table name for a given column.
DefaultTableMappingIntegrationTest::testGetFieldTableName function core/tests/Drupal/KernelTests/Core/Entity/DefaultTableMappingIntegrationTest.php Tests DefaultTableMapping::getFieldTableName().
DefaultTableMappingTest::providerTestGetFieldColumnName function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Provides test data for testGetFieldColumnName().
DefaultTableMappingTest::providerTestGetFieldTableName function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Provides test data for testGetFieldColumnName().
DefaultTableMappingTest::testGetFieldColumnName function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldColumnName() with valid parameters.
DefaultTableMappingTest::testGetFieldColumnNameInvalid function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldColumnName() with invalid parameters.
DefaultTableMappingTest::testGetFieldNames function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldNames().
DefaultTableMappingTest::testGetFieldTableName function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldTableName().
DefaultTableMappingTest::testGetFieldTableNameInvalid function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldTableName() with an invalid parameter.
DeletedFieldsRepository::getFieldDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepository.php Returns a list of deleted field definitions.
DeletedFieldsRepository::getFieldStorageDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepository.php Returns a list of deleted field storage definitions.
DeletedFieldsRepositoryInterface::getFieldDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Returns a list of deleted field 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 Gets an array of values to be set.
DisplayPluginBase::getFieldLabels function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Retrieves a list of fields for the current display.
DisplayPluginInterface::getFieldLabels function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Retrieves a list of fields for the current display.
Email::getFieldFormatterMap function core/modules/field/src/Plugin/migrate/field/Email.php Get a map between D6 formatters and D8 formatters for this field type.
Email::getFieldWidgetMap function core/modules/field/src/Plugin/migrate/field/Email.php Get a map between D6 and D8 widgets for this field type.
EntityChangesDetectionTrait::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php Returns an array of field names to skip when checking for changes.
EntityConstraintViolationList::getFieldNames function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php Returns the names of all violated fields.
EntityConstraintViolationListInterface::getFieldNames function core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php Returns the names of all violated fields.
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.
EntityDisplayBase::getFieldDefinition function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the field definition of a field.
EntityDisplayBase::getFieldDefinitions function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the definitions of the fields that are candidate for display.

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