Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 8.9.x for definition
  4. Search 10.3.x for definition
  5. Other projects
Title Object type File name Summary
FieldableEntityDefinitionUpdateTest::assertEntityTypeSchema function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts revisionable and/or translatable characteristics of an entity type.
FieldableEntityDefinitionUpdateTest::assertNonRevisionableAndNonTranslatable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts that an entity type is neither revisionable nor translatable.
FieldableEntityDefinitionUpdateTest::assertRevisionable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts the revisionable characteristics of an entity type.
FieldableEntityDefinitionUpdateTest::assertRevisionableAndTranslatable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts the revisionable / translatable characteristics of an entity type.
FieldableEntityDefinitionUpdateTest::assertTranslatable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts the translatable characteristics of an entity type.
FieldableEntityDefinitionUpdateTest::insertData function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Generates test entities for the 'entity_test_update' entity type.
FieldableEntityDefinitionUpdateTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesErrorHandling function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Tests that a failed entity schema update preserves the existing data.
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesRemoveBackupTables function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Tests the removal of the backup tables after a successful update.
FieldableEntityInterface::baseFieldDefinitions function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Provides base field definitions for an entity type.
FieldableEntityInterface::bundleFieldDefinitions function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Provides field definitions for a specific bundle.
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.
FieldableEntityNormalizerTrait::getEntityTypeDefinition function core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php Gets the entity type definition.
FieldAPIHandlerTrait::$fieldDefinition property core/modules/views/src/FieldAPIHandlerTrait.php The field definition.
FieldAPIHandlerTrait::$fieldStorageDefinition property core/modules/views/src/FieldAPIHandlerTrait.php The field storage definition.
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::$fieldDefinition property core/modules/layout_builder/src/Plugin/Block/FieldBlock.php The field definition.
FieldBlock::getFieldDefinition function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Gets the field definition.
FieldBlockDeriver::getDerivativeDefinitions function core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Gets the definition of all derivatives of a base plugin.
FieldConfig::getFieldStorageDefinition function core/modules/field/src/Entity/FieldConfig.php Returns the field storage definition.
FieldConfigBase::$itemDefinition property core/lib/Drupal/Core/Field/FieldConfigBase.php The data definition of a field item.
FieldConfigBase::getItemDefinition function core/lib/Drupal/Core/Field/FieldConfigBase.php Gets the data definition of an item of the list.
FieldCrudTest::$fieldDefinition property core/modules/field/tests/src/Kernel/FieldCrudTest.php The field entity definition.
FieldCrudTest::$fieldStorageDefinition property core/modules/field/tests/src/Kernel/FieldCrudTest.php The field entity definition.
FieldDateTest::schemaDefinition function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Returns the schema definition.
FieldDefinition class core/lib/Drupal/Core/Field/FieldDefinition.php A class for defining entity field definitions.
FieldDefinition.php file core/lib/Drupal/Core/Field/FieldDefinition.php
FieldDefinition::$fieldStorageDefinition property core/lib/Drupal/Core/Field/FieldDefinition.php The associated field storage definition.
FieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinition.php Creates a new field definition.
FieldDefinition::getConfig function core/lib/Drupal/Core/Field/FieldDefinition.php Gets an object that can be saved in configuration.
FieldDefinition::getDefaultValue function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value for the field in a newly created entity.
FieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value callback for the field.
FieldDefinition::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value literal for the field.
FieldDefinition::getDisplayOptions function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default display options for the field.
FieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the field storage definition.
FieldDefinition::getName function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the machine name of the field.
FieldDefinition::getSetting function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the value of a given setting.
FieldDefinition::getSettings function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the array of settings, as required by the used class.
FieldDefinition::getTargetBundle function core/lib/Drupal/Core/Field/FieldDefinition.php Gets the bundle the field is attached to.
FieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the ID of the entity type the field is attached to.
FieldDefinition::getType function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the field type.
FieldDefinition::getUniqueIdentifier function core/lib/Drupal/Core/Field/FieldDefinition.php Returns a unique identifier for the field.
FieldDefinition::isDisplayConfigurable function core/lib/Drupal/Core/Field/FieldDefinition.php Returns whether the display for the field can be configured.
FieldDefinition::isTranslatable function core/lib/Drupal/Core/Field/FieldDefinition.php Returns whether the field is translatable.
FieldDefinition::setDefaultValue function core/lib/Drupal/Core/Field/FieldDefinition.php Set a default value for the field.
FieldDefinition::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Set the default value callback for the field.
FieldDefinition::setDisplayConfigurable function core/lib/Drupal/Core/Field/FieldDefinition.php Sets whether the display for the field can be configured.
FieldDefinition::setDisplayOptions function core/lib/Drupal/Core/Field/FieldDefinition.php Sets the display options for the field in forms or rendered entities.

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