Search for definition
- Search 7.x for definition
- Search 8.9.x for definition
- Search 10.3.x for definition
- Search 11.x for definition
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
BaseFieldDefinition::getSetting | function | core/ |
Returns the value of a given setting. |
BaseFieldDefinition::getSettings | function | core/ |
Returns the array of settings, as required by the used class. |
BaseFieldDefinition::getTargetBundle | function | core/ |
Gets the bundle the field is attached to. |
BaseFieldDefinition::getTargetEntityTypeId | function | core/ |
Returns the ID of the entity type the field is attached to. |
BaseFieldDefinition::getType | function | core/ |
Returns the field type. |
BaseFieldDefinition::getUniqueIdentifier | function | core/ |
Returns a unique identifier for the field. |
BaseFieldDefinition::getUniqueStorageIdentifier | function | core/ |
Returns a unique identifier for the field storage. |
BaseFieldDefinition::hasCustomStorage | function | core/ |
Returns the storage behavior for this field. |
BaseFieldDefinition::isBaseField | function | core/ |
Determines whether the field is a base field. |
BaseFieldDefinition::isDeleted | function | core/ |
Returns whether the field is deleted or not. |
BaseFieldDefinition::isDisplayConfigurable | function | core/ |
Returns whether the display for the field can be configured. |
BaseFieldDefinition::isInternal | function | core/ |
Determines whether the data value is internal. |
BaseFieldDefinition::isMultiple | function | core/ |
Returns whether the field can contain multiple items. |
BaseFieldDefinition::isRevisionable | function | core/ |
Returns whether the field storage is revisionable. |
BaseFieldDefinition::isStorageRequired | function | core/ |
Returns whether the field storage is required. |
BaseFieldDefinition::isTranslatable | function | core/ |
Returns whether the field is translatable. |
BaseFieldDefinition::setCardinality | function | core/ |
Sets the maximum number of items allowed for the field. |
BaseFieldDefinition::setCustomStorage | function | core/ |
Sets the storage behavior for this field. |
BaseFieldDefinition::setDefaultValue | function | core/ |
|
BaseFieldDefinition::setDefaultValueCallback | function | core/ |
|
BaseFieldDefinition::setDeleted | function | core/ |
Sets whether the field storage is deleted. |
BaseFieldDefinition::setDisplayConfigurable | function | core/ |
Sets whether the display for the field can be configured. |
BaseFieldDefinition::setDisplayOptions | function | core/ |
Sets the display options for the field in forms or rendered entities. |
BaseFieldDefinition::setInitialValue | function | core/ |
Sets an initial value for the field. |
BaseFieldDefinition::setInitialValueFromField | function | core/ |
Sets a field that will be used for getting initial values. |
BaseFieldDefinition::setName | function | core/ |
Sets the field name. |
BaseFieldDefinition::setPropertyConstraints | function | core/ |
Sets constraints for a given field item property. |
BaseFieldDefinition::setProvider | function | core/ |
Sets the name of the provider of this field. |
BaseFieldDefinition::setRevisionable | function | core/ |
Sets whether the field is revisionable. |
BaseFieldDefinition::setSetting | function | core/ |
Sets a definition setting. |
BaseFieldDefinition::setSettings | function | core/ |
Note that the method does not unset existing settings not specified in the incoming $settings array. |
BaseFieldDefinition::setStorageRequired | function | core/ |
Sets whether the field storage is required. |
BaseFieldDefinition::setTargetBundle | function | core/ |
Sets the bundle this field is defined for. |
BaseFieldDefinition::setTargetEntityTypeId | function | core/ |
Sets the ID of the type of the entity this field is attached to. |
BaseFieldDefinition::setTranslatable | function | core/ |
Sets whether the field is translatable. |
BaseFieldDefinition::__clone | function | core/ |
Magic method: Implements a deep clone. |
BaseFieldDefinition::__sleep | function | core/ |
|
BaseFieldDefinitionTest | class | core/ |
Unit test for BaseFieldDefinition. |
BaseFieldDefinitionTest | class | core/ |
Stub class for BaseFieldDefinition. |
BaseFieldDefinitionTest.php | file | core/ |
|
BaseFieldDefinitionTest::$fieldType | property | core/ |
A dummy field type name. |
BaseFieldDefinitionTest::$fieldTypeDefinition | property | core/ |
A dummy field type definition. |
BaseFieldDefinitionTest::create | function | core/ |
Creates a new field definition. |
BaseFieldDefinitionTest::getSettings | function | core/ |
Returns the array of settings, as required by the used class. |
BaseFieldDefinitionTest::getType | function | core/ |
Returns the field type. |
BaseFieldDefinitionTest::mockDefaultValueCallback | function | core/ |
Provides a Mock base field default value callback. |
BaseFieldDefinitionTest::setUp | function | core/ |
|
BaseFieldDefinitionTest::testCustomStorage | function | core/ |
Tests custom storage. |
BaseFieldDefinitionTest::testDefaultFieldSettings | function | core/ |
Tests the initialization of default field settings. |
BaseFieldDefinitionTest::testDefaultValueCallback | function | core/ |
Tests default value callbacks. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.