Search for Field

  1. Search 7.x for Field
  2. Search 9.5.x for Field
  3. Search 8.9.x for Field
  4. Search 11.x for Field
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Field class core/modules/field/src/Plugin/migrate/source/d6/Field.php Drupal 6 field source from database.
Field class core/modules/field/src/Plugin/migrate/source/d7/Field.php Drupal 7 field source from database.

All search results

Title Object type File name Summary
FieldDefinition::setTargetBundle function core/lib/Drupal/Core/Field/FieldDefinition.php Set the target bundle.
FieldDefinition::setTranslatable function core/lib/Drupal/Core/Field/FieldDefinition.php Sets whether the field is translatable.
FieldDefinitionIntegrityTest class core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php Tests the integrity of field API plugin definitions.
FieldDefinitionIntegrityTest.php file core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php
FieldDefinitionIntegrityTest::$modules property core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php
FieldDefinitionIntegrityTest::checkDisplayOption function core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php Helper method that tries to load plugin definitions.
FieldDefinitionIntegrityTest::modulesWithSubdirectory function core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php Find modules with a specified subdirectory.
FieldDefinitionIntegrityTest::testFieldPluginDefinitionAvailability function core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php Tests to load field plugin definitions used in core's existing entities.
FieldDefinitionIntegrityTest::testFieldPluginDefinitionIntegrity function core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php Tests the integrity of field plugin definitions.
FieldDefinitionInterface interface core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Defines an interface for entity field definitions.
FieldDefinitionInterface.php file core/lib/Drupal/Core/Field/FieldDefinitionInterface.php
FieldDefinitionInterface::getConfig function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Gets an object that can be saved in configuration.
FieldDefinitionInterface::getDefaultValue function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value for the field in a newly created entity.
FieldDefinitionInterface::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value callback for the field.
FieldDefinitionInterface::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value literal for the field.
FieldDefinitionInterface::getDisplayOptions function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default display options for the field.
FieldDefinitionInterface::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the field storage definition.
FieldDefinitionInterface::getName function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the machine name of the field.
FieldDefinitionInterface::getTargetBundle function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Gets the bundle the field is attached to.
FieldDefinitionInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the ID of the entity type the field is attached to.
FieldDefinitionInterface::getType function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the field type.
FieldDefinitionInterface::getUniqueIdentifier function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns a unique identifier for the field.
FieldDefinitionInterface::isDisplayConfigurable function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns whether the display for the field can be configured.
FieldDefinitionInterface::isRequired function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns whether the field can be empty.
FieldDefinitionInterface::isTranslatable function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns whether the field is translatable.
FieldDefinitionListener class core/lib/Drupal/Core/Field/FieldDefinitionListener.php Reacts to field definition CRUD on behalf of the Entity system.
FieldDefinitionListener.php file core/lib/Drupal/Core/Field/FieldDefinitionListener.php
FieldDefinitionListener::$cacheBackend property core/lib/Drupal/Core/Field/FieldDefinitionListener.php Cache backend instance.
FieldDefinitionListener::$entityFieldManager property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The entity field manager.
FieldDefinitionListener::$entityTypeManager property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The entity type manager.
FieldDefinitionListener::$keyValueFactory property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The key-value factory.
FieldDefinitionListener::onFieldDefinitionCreate function core/lib/Drupal/Core/Field/FieldDefinitionListener.php
FieldDefinitionListener::onFieldDefinitionDelete function core/lib/Drupal/Core/Field/FieldDefinitionListener.php
FieldDefinitionListener::onFieldDefinitionUpdate function core/lib/Drupal/Core/Field/FieldDefinitionListener.php
FieldDefinitionListener::__construct function core/lib/Drupal/Core/Field/FieldDefinitionListener.php Constructs a new FieldDefinitionListener.
FieldDefinitionListenerInterface interface core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Defines an interface for reacting to field creation, deletion, and updates.
FieldDefinitionListenerInterface.php file core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php
FieldDefinitionListenerInterface::onFieldDefinitionCreate function core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Reacts to the creation of a field.
FieldDefinitionListenerInterface::onFieldDefinitionDelete function core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Reacts to the deletion of a field.
FieldDefinitionListenerInterface::onFieldDefinitionUpdate function core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Reacts to the update of a field.
FieldDefinitionListenerTest class core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @coversDefaultClass \Drupal\Core\Field\FieldDefinitionListener
@group Field
FieldDefinitionListenerTest.php file core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php
FieldDefinitionListenerTest::$cacheBackend property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The cache backend.
FieldDefinitionListenerTest::$entityFieldManager property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The entity field manager.
FieldDefinitionListenerTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The entity type manager.
FieldDefinitionListenerTest::$fieldDefinitionListener property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The field definition listener under test.
FieldDefinitionListenerTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The key-value factory.
FieldDefinitionListenerTest::setUp function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php
FieldDefinitionListenerTest::setUpEntityTypeManager function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php Sets up the entity type manager to be tested.
FieldDefinitionListenerTest::testOnFieldDefinitionCreateExistingField function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @covers ::onFieldDefinitionCreate

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