Search for getField

  1. Search 7.x for getField
  2. Search 9.5.x for getField
  3. Search 8.9.x for getField
  4. Search 10.3.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
BaseFieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php
BaseFieldOverride::getFieldStorageDefinition function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
BlockContentRemoveConstraint::getFieldInfoConstraints function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Get constraints for info field.
CastSql::getFieldAsInt function core/modules/views/src/Plugin/views/query/CastSql.php
CastSqlInterface::getFieldAsInt function core/modules/views/src/Plugin/views/query/CastSqlInterface.php Returns a database expression to cast the field to int.
Comment::getFieldName function core/modules/comment/src/Entity/Comment.php
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
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
ContentTranslationHandler::getFieldDefinitions function core/modules/content_translation/src/ContentTranslationHandler.php
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
DateField::getFieldType function core/modules/datetime/src/Plugin/migrate/field/DateField.php
DateField::getFieldWidgetMap function core/modules/datetime/src/Plugin/migrate/field/DateField.php
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
DefaultTableMapping::getFieldNames function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php
DefaultTableMapping::getFieldTableName function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php
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
DeletedFieldsRepository::getFieldStorageDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepository.php
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
DisplayPluginBase::getFieldLabels function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
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
Email::getFieldWidgetMap function core/modules/field/src/Plugin/migrate/field/Email.php
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
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

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