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
FieldPluginBase::getFieldFormatterMap function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Get a map between D6 formatters and D8 formatters for this field type.
FieldPluginBase::getFieldFormatterType function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Get the field formatter type from the source.
FieldPluginBase::getFieldTokenPlaceholder function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns a token placeholder for the current field.
FieldPluginBase::getFieldType function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Computes the destination type of a migrated field.
FieldPluginBase::getFieldWidgetMap function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Get a map between D6 and D8 widgets for this field type.
FieldPluginBase::getFieldWidgetType function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Get the field widget type from the source.
FieldResolver::getFieldAccess function core/modules/jsonapi/src/Context/FieldResolver.php Gets the field access result for the 'view' operation.
FieldResolver::getFieldItemDefinitions function core/modules/jsonapi/src/Context/FieldResolver.php Get all item definitions from a set of resources types by a field name.
FieldStorageConfig::getFieldItemClass function core/modules/field/src/Entity/FieldStorageConfig.php Helper to retrieve the field item class.
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.
FieldTypePluginManager::getFieldSettingsSummary function core/lib/Drupal/Core/Field/FieldTypePluginManager.php Returns the summary of field-level settings for a field type.
FieldTypePluginManagerInterface::getFieldSettingsSummary function core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php Returns the summary of field-level settings for a field type.
FieldUiJSTestTrait::getFieldFromGroupJS function core/modules/field_ui/tests/src/Traits/FieldUiJSTestTrait.php Helper function that returns the field card element if it is in a group.
FieldUiTestTrait::getFieldFromGroup function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Helper function that returns the name of the group that a field is in.
FieldUninstallValidator::getFieldStoragesByModule function core/modules/field/src/FieldUninstallValidator.php Returns all field storages for a specified module.
FieldUninstallValidator::getFieldTypeLabel function core/modules/field/src/FieldUninstallValidator.php Returns the label for a specified field type.
FieldUpdateActionBase::getFieldsToUpdate function core/lib/Drupal/Core/Field/FieldUpdateActionBase.php Gets an array of values to be set.
FileField::getFieldFormatterMap function core/modules/file/src/Plugin/migrate/field/d6/FileField.php Get a map between D6 formatters and D8 formatters for this field type.
FileField::getFieldType function core/modules/file/src/Plugin/migrate/field/d6/FileField.php Computes the destination type of a migrated field.
FileField::getFieldWidgetMap function core/modules/file/src/Plugin/migrate/field/d6/FileField.php Get a map between D6 and D8 widgets for this field type.
FileField::getFieldWidgetMap function core/modules/file/src/Plugin/migrate/field/d7/FileField.php Get a map between D6 and D8 widgets for this field type.
FileFieldTest::getFieldTypeProvider function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php Data provider for testGetFieldType().
FileFieldTest::getFieldTypeProvider function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php Data provider for testGetFieldType().
FileFieldTest::testGetFieldType function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php @covers ::getFieldType
@dataProvider getFieldTypeProvider
FileFieldTest::testGetFieldType function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php @covers ::getFieldType
@dataProvider getFieldTypeProvider
FilterTest::getFieldResolverMock function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php Provides a mock field resolver.
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.
HandlerBase::getField function core/modules/views/src/Plugin/views/HandlerBase.php Shortcut to get a handler's raw field value.
ImageField::getFieldWidgetMap function core/modules/image/src/Plugin/migrate/field/d7/ImageField.php Get a map between D6 and D8 widgets for this field type.
ImageFieldValidateTest::getFieldSettings function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Returns field settings.
LinkField::getFieldFormatterMap function core/modules/link/src/Plugin/migrate/field/d6/LinkField.php Get a map between D6 formatters and D8 formatters for this field type.
LinkField::getFieldFormatterMap function core/modules/link/src/Plugin/migrate/field/d7/LinkField.php Get a map between D6 formatters and D8 formatters for this field type.
LinkField::getFieldWidgetMap function core/modules/link/src/Plugin/migrate/field/d7/LinkField.php Get a map between D6 and D8 widgets for this field type.
LinkFieldUITest::getFieldHtml function core/modules/link/tests/src/Functional/LinkFieldUITest.php Returns the raw HTML for the given field.
ManyToOneHelper::getField function core/modules/views/src/ManyToOneHelper.php Get the field via formula or build it using alias and field name.
MediaLibraryWidget::getFieldState function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets the field state for the widget.
MediaType::getFieldMap function core/modules/media/src/Entity/MediaType.php Returns the metadata field map.
MediaTypeInterface::getFieldMap function core/modules/media/src/MediaTypeInterface.php Returns the metadata field map.
MigrateFieldInterface::getFieldFormatterMap function core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php Get a map between D6 formatters and D8 formatters for this field type.
MigrateFieldInterface::getFieldFormatterType function core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php Get the field formatter type from the source.
MigrateFieldInterface::getFieldType function core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php Computes the destination type of a migrated field.
MigrateFieldInterface::getFieldWidgetMap function core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php Get a map between D6 and D8 widgets for this field type.
MigrateFieldInterface::getFieldWidgetType function core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php Get the field widget type from the source.
MigrateMapSaveEvent::getFields function core/modules/migrate/src/Event/MigrateMapSaveEvent.php Gets the fields about to be saved to the map.
MysqlCastSql::getFieldAsInt function core/modules/mysql/src/Plugin/views/query/MysqlCastSql.php Returns a database expression to cast the field to int.

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