Search for getField

  1. Search 7.x for getField
  2. Search 9.5.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
ManyToOneHelper::getField function core/modules/views/src/ManyToOneHelper.php Sometimes the handler might want us to use some kind of formula, so give
it that option. If it wants us to do this, it must set $helper->formula = TRUE
and implement handler->getFormula();
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.
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/image/src/Controller/QuickEditImageController.php Returns JSON representing the current state of the field.
RdfMapping::getFieldMapping function core/modules/rdf/src/Entity/RdfMapping.php Gets the mapping config for a field.
RdfMappingInterface::getFieldMapping function core/modules/rdf/src/RdfMappingInterface.php Gets the mapping config for a field.
Relationship::getFieldName function core/modules/jsonapi/src/JsonApiResource/Relationship.php Gets the relationship object's public field name.
ResourceObject::getField function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the given field.
ResourceObject::getFields function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the ResourceObject's fields.
ResourceType::getFieldByInternalName function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets a particular attribute or relationship field by internal field name.
ResourceType::getFieldByPublicName function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets a particular attribute or relationship field by public field name.
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::getFieldMapping function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets the field mapping for the given field names and entity type + bundle.
ResourceTypeRepository::getFields function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Gets the field mapping for the given field names and entity type + bundle.
ResourceTypeRepositoryTest::getFieldMappingProvider function core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php Data provider for testGetFieldMapping.
RssFields::getField function core/modules/views/src/Plugin/views/row/RssFields.php Retrieves a views field value from the style plugin.
Schema::getFieldTypeMap function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Returns a mapping of Drupal schema field names to DB-native field types.
Schema::getFieldTypeMap function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Returns a mapping of Drupal schema field names to DB-native field types.
Schema::getFieldTypeMap function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Returns a mapping of Drupal schema field names to DB-native field types.
Schema::getFieldTypeMap function core/lib/Drupal/Core/Database/Schema.php Returns a mapping of Drupal schema field names to DB-native field types.
SchemaLegacyTest::testSchemaGetFieldValue function core/tests/Drupal/KernelTests/Core/Database/SchemaLegacyTest.php Tests deprecation of the drupal_schema_get_field_value() function.
Select::getFields function core/lib/Drupal/Core/Database/Query/Select.php Returns a reference to the fields array for this query.
SelectExtender::getFields function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a reference to the fields array for this query.
SelectInterface::getFields function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a reference to the fields array for this query.
Sql::getFieldAlias function core/modules/views/src/Plugin/views/query/Sql.php Returns the alias for the given field added to $table.
Sql::getFieldSchema function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Creates schema from an ID definition.
SqlContentEntityStorage::getFieldStorageDefinitions function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Gets the base field definitions for a content entity type.
SqlContentEntityStorageSchema::getFieldForeignKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets field foreign keys.
SqlContentEntityStorageSchema::getFieldIndexes function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets an index schema array for a given field.
SqlContentEntityStorageSchema::getFieldIndexName function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Generates an index name for a field data table.
SqlContentEntityStorageSchema::getFieldSchemaData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets field schema data for the given key.
SqlContentEntityStorageSchema::getFieldSchemaIdentifierName function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Generates a safe schema identifier (name of an index, column name etc.).
SqlContentEntityStorageSchema::getFieldUniqueKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a unique key schema array for a given field.
SqlContentEntityStorageTest::testGetFieldStorageDefinitions function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::getFieldStorageDefinitions
StickyNode::getFieldsToUpdate function core/modules/node/src/Plugin/Action/StickyNode.php Gets an array of values to be set.
StylePluginBase::getField function core/modules/views/src/Plugin/views/style/StylePluginBase.php Gets a rendered field.

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