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
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 Returns the synchronized properties for the specified field definition.
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.
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.
Node::getFieldData function core/modules/node/src/Plugin/migrate/source/d6/Node.php Retrieves raw field data for a node.
Node::getFieldInfo function core/modules/node/src/Plugin/migrate/source/d6/Node.php Gets field and instance definitions from the database.
Node::getFieldValues function core/modules/node/src/Plugin/migrate/source/d6/Node.php Gets field values for a node.
NodeReference::getFieldFormatterMap function core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php Get a map between D6 formatters and D8 formatters for this field type.
OpmlFields::getField function core/modules/views/src/Plugin/views/row/OpmlFields.php Retrieves a views field value from the style plugin.
PhoneField::getFieldFormatterMap function core/modules/telephone/src/Plugin/migrate/field/d7/PhoneField.php Get a map between D6 formatters and D8 formatters for this field type.
PromoteNode::getFieldsToUpdate function core/modules/node/src/Plugin/Action/PromoteNode.php Gets an array of values to be set.
QuickEditImageController::getField function core/modules/quickedit/src/Controller/QuickEditImageController.php Returns JSON representing the current state of the field.
QuickEditImageController::getField function core/modules/image/src/Controller/QuickEditImageController.php Returns JSON representing the current state of the field.

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