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 11.x for getField
  5. Other projects
Title Object type File name Summary
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.
EntityDisplayFormBase::getFieldDefinitions function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Collects the definitions of fields whose display is configurable.
EntityField::getFieldStorageDefinition function core/modules/views/src/Plugin/views/field/EntityField.php Gets the field storage definition.
EntityFieldManager::getFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManager::getFieldMap function core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManager::getFieldMapByFieldType function core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManager::getFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManagerInterface::getFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Gets the field definitions for a specific bundle.
EntityFieldManagerInterface::getFieldMap function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Gets a lightweight map of fields across bundles.
EntityFieldManagerInterface::getFieldMapByFieldType function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Gets a lightweight map of fields across bundles filtered by field type.
EntityFieldManagerInterface::getFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Gets the field storage definitions for a content entity type.
EntityFieldManagerTest::testGetFieldDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldDefinitions() method.
EntityFieldManagerTest::testGetFieldDefinitionsProvider function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests that getFieldDefinitions() method sets the 'provider' definition key.
EntityFieldManagerTest::testGetFieldDefinitionsWithCaching function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldDefinitions() method with caching.
EntityFieldManagerTest::testGetFieldMap function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @covers ::getFieldMap
EntityFieldManagerTest::testGetFieldMapByFieldType function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @covers ::getFieldMapByFieldType
EntityFieldManagerTest::testGetFieldMapFromCache function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @covers ::getFieldMap
EntityFieldManagerTest::testGetFieldStorageDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldStorageDefinitions() method.
EntityFieldManagerTest::testGetFieldStorageDefinitionsWithCaching function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldStorageDefinitions() method with caching.
EntityReference::getFieldFormatterMap function core/modules/field/src/Plugin/migrate/field/d7/EntityReference.php Get a map between D6 formatters and D8 formatters for this field type.
EntityViewsData::getFieldStorageDefinitions function core/modules/views/src/EntityViewsData.php Gets the field storage definitions.
FieldableEntity::getFields function core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php Returns all non-deleted field instances attached to a specific entity type.
FieldableEntity::getFieldValues function core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php Retrieves field values for a single field of a single entity.
FieldableEntityInterface::getFieldDefinition function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets the definition of a contained field.
FieldableEntityInterface::getFieldDefinitions function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of field definitions of all contained fields.
FieldableEntityInterface::getFields function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of all field item lists.
FieldAPIHandlerTrait::getFieldDefinition function core/modules/views/src/FieldAPIHandlerTrait.php Gets the field definition.
FieldAPIHandlerTrait::getFieldStorageDefinition function core/modules/views/src/FieldAPIHandlerTrait.php Gets the field storage configuration.
FieldBlock::getFieldDefinition function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Gets the field definition.
FieldBlockDeriver::getFieldMap function core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Returns the entity field map for deriving block definitions.
FieldConfig::getFieldStorageDefinition function core/modules/field/src/Entity/FieldConfig.php Returns the field storage definition.
FieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the field storage definition.
FieldDefinitionInterface::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the field storage definition.
FieldDiscovery::getFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/src/FieldDiscovery.php Provides the stub migration definition for a given Drupal core version.
FieldDiscovery::getFieldPlugin function core/modules/migrate_drupal/src/FieldDiscovery.php Returns the appropriate field plugin for a given field type.
FieldDiscoveryTest::getFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php Provides data for testGetFieldInstanceStubMigrationDefinition.
FieldDiscoveryTest::testGetFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php Tests the getFieldInstanceStubMigration method.
FieldDiscoveryTestClass::getFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Provides the stub migration definition for a given Drupal core version.
FieldDiscoveryTestClass::getFieldPlugin function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Returns the appropriate field plugin for a given field type.
FieldItemBase::getFieldDefinition function core/lib/Drupal/Core/Field/FieldItemBase.php Gets the field definition.
FieldItemDataDefinition::getFieldDefinition function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Gets the field item's field definition.
FieldItemDataDefinitionInterface::getFieldDefinition function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinitionInterface.php Gets the field item's field definition.
FieldItemInterface::getFieldDefinition function core/lib/Drupal/Core/Field/FieldItemInterface.php Gets the field definition.
FieldItemList::getFieldDefinition function core/lib/Drupal/Core/Field/FieldItemList.php Gets the field definition.
FieldItemListInterface::getFieldDefinition function core/lib/Drupal/Core/Field/FieldItemListInterface.php Gets the field definition.
FieldItemNormalizer::getFieldItemInstance function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Gets a field item instance for use with SerializedColumnNormalizerTrait.
FieldLabelOptionsTrait::getFieldLabelOptions function core/modules/field/src/FieldLabelOptionsTrait.php Returns an array of visibility options for field labels.
FieldLayoutBuilder::getFields function core/modules/field_layout/src/FieldLayoutBuilder.php Gets the fields that need to be processed.

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