Search for init
Title | Object type | File name | Summary |
---|---|---|---|
FieldableEntityDefinitionUpdateTest::providerTestFieldableEntityTypeUpdates | function | core/ |
Data provider for testFieldableEntityTypeUpdates(). |
FieldableEntityDefinitionUpdateTest::setUp | function | core/ |
|
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdates | function | core/ |
@covers ::updateFieldableEntityType[[api-linebreak]] @dataProvider providerTestFieldableEntityTypeUpdates |
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesErrorHandling | function | core/ |
Tests that a failed entity schema update preserves the existing data. |
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesRemoveBackupTables | function | core/ |
Tests the removal of the backup tables after a successful update. |
FieldableEntityInterface::baseFieldDefinitions | function | core/ |
Provides base field definitions for an entity type. |
FieldableEntityInterface::bundleFieldDefinitions | function | core/ |
Provides field definitions for a specific bundle. |
FieldableEntityInterface::getFieldDefinition | function | core/ |
Gets the definition of a contained field. |
FieldableEntityInterface::getFieldDefinitions | function | core/ |
Gets an array of field definitions of all contained fields. |
FieldConfigBase::$itemDefinition | property | core/ |
The data definition of a field item. |
FieldConfigBase::getItemDefinition | function | core/ |
Gets the data definition of an item of the list. |
FieldDefinition | class | core/ |
A class for defining entity field definitions. |
FieldDefinition.php | file | core/ |
|
FieldDefinition::$fieldStorageDefinition | property | core/ |
The associated field storage definition. |
FieldDefinition::createFromFieldStorageDefinition | function | core/ |
Creates a new field definition. |
FieldDefinition::getConfig | function | core/ |
Gets an object that can be saved in configuration. |
FieldDefinition::getDefaultValue | function | core/ |
Returns the default value for the field in a newly created entity. |
FieldDefinition::getDefaultValueCallback | function | core/ |
Returns the default value callback for the field. |
FieldDefinition::getDefaultValueLiteral | function | core/ |
Returns the default value literal for the field. |
FieldDefinition::getDisplayOptions | function | core/ |
Returns the default display options for the field. |
FieldDefinition::getFieldStorageDefinition | function | core/ |
Returns the field storage definition. |
FieldDefinition::getName | function | core/ |
Returns the machine name of the field. |
FieldDefinition::getSetting | function | core/ |
Returns the value of a given setting. |
FieldDefinition::getSettings | function | core/ |
Returns the array of settings, as required by the used class. |
FieldDefinition::getTargetBundle | function | core/ |
Gets the bundle the field is attached to. |
FieldDefinition::getTargetEntityTypeId | function | core/ |
Returns the ID of the entity type the field is attached to. |
FieldDefinition::getType | function | core/ |
Returns the field type. |
FieldDefinition::getUniqueIdentifier | function | core/ |
Returns a unique identifier for the field. |
FieldDefinition::isDisplayConfigurable | function | core/ |
Returns whether the display for the field can be configured. |
FieldDefinition::isTranslatable | function | core/ |
Returns whether the field is translatable. |
FieldDefinition::setDefaultValue | function | core/ |
Set a default value for the field. |
FieldDefinition::setDefaultValueCallback | function | core/ |
Set the default value callback for the field. |
FieldDefinition::setDisplayConfigurable | function | core/ |
Sets whether the display for the field can be configured. |
FieldDefinition::setDisplayOptions | function | core/ |
Sets the display options for the field in forms or rendered entities. |
FieldDefinition::setFieldStorageDefinition | function | core/ |
Set the field storage definition. |
FieldDefinition::setSetting | function | core/ |
Sets a definition setting. |
FieldDefinition::setSettings | function | core/ |
Sets the array of settings, as required by the used class. |
FieldDefinition::setTargetBundle | function | core/ |
Set the target bundle. |
FieldDefinition::setTranslatable | function | core/ |
Sets whether the field is translatable. |
FieldDefinitionInterface | interface | core/ |
Defines an interface for entity field definitions. |
FieldDefinitionInterface.php | file | core/ |
|
FieldDefinitionInterface::getConfig | function | core/ |
Gets an object that can be saved in configuration. |
FieldDefinitionInterface::getDefaultValue | function | core/ |
Returns the default value for the field in a newly created entity. |
FieldDefinitionInterface::getDefaultValueCallback | function | core/ |
Returns the default value callback for the field. |
FieldDefinitionInterface::getDefaultValueLiteral | function | core/ |
Returns the default value literal for the field. |
FieldDefinitionInterface::getDisplayOptions | function | core/ |
Returns the default display options for the field. |
FieldDefinitionInterface::getFieldStorageDefinition | function | core/ |
Returns the field storage definition. |
FieldDefinitionInterface::getName | function | core/ |
Returns the machine name of the field. |
FieldDefinitionInterface::getTargetBundle | function | core/ |
Gets the bundle the field is attached to. |
FieldDefinitionInterface::getTargetEntityTypeId | function | core/ |
Returns the ID of the entity type the field is attached to. |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.