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
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 Gets the field definitions for a specific bundle.
EntityFieldManager::getFieldMap function core/lib/Drupal/Core/Entity/EntityFieldManager.php Gets a lightweight map of fields across bundles.
EntityFieldManager::getFieldMapByFieldType function core/lib/Drupal/Core/Entity/EntityFieldManager.php Gets a lightweight map of fields across bundles filtered by field type.
EntityFieldManager::getFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php Gets the field storage definitions for a content entity type.
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.
EntityManager::getFieldDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getFieldMap function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getFieldMapByFieldType function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testGetFieldDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the getFieldDefinitions() method.
EntityManagerTest::testGetFieldMap function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the getFieldMap() method.
EntityManagerTest::testGetFieldMapByFieldType function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the getFieldMapByFieldType() method.
EntityManagerTest::testGetFieldStorageDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the getFieldStorageDefinitions() method.
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.
EntityViewDisplayEditForm::getFieldLabelOptions function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php Returns an array of visibility options for field labels.
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.
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.

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