Search for all
Title | Object type | File name | Summary |
---|---|---|---|
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. |
BaseFieldDefinitionTest::testFieldCardinality | function | core/ |
Tests field cardinality. |
BaseFieldDefinitionTest::testFieldDefaultValue | function | core/ |
Tests field default value. |
BaseFieldDefinitionTest::testFieldDescription | function | core/ |
Tests field description methods. |
BaseFieldDefinitionTest::testFieldInitialValue | function | core/ |
Tests field initial value. |
BaseFieldDefinitionTest::testFieldLabel | function | core/ |
Tests field label methods. |
BaseFieldDefinitionTest::testFieldName | function | core/ |
Tests field name methods. |
BaseFieldDefinitionTest::testFieldProvider | function | core/ |
Tests provider. |
BaseFieldDefinitionTest::testFieldRequired | function | core/ |
Tests required. |
BaseFieldDefinitionTest::testFieldRevisionable | function | core/ |
Tests field revisionable methods. |
BaseFieldDefinitionTest::testFieldSettings | function | core/ |
Tests field settings methods. |
BaseFieldDefinitionTest::testFieldStorageRequired | function | core/ |
Tests storage required. |
BaseFieldDefinitionTest::testFieldTranslatable | function | core/ |
Tests field translatable methods. |
BaseFieldDefinitionTest::testFieldType | function | core/ |
Tests field type methods. |
BaseFieldDefinitionTest::testInvalidDefaultValueCallback | function | core/ |
Tests invalid default value callbacks. |
BaseFieldDefinitionTest::testNullDefaultValueCallback | function | core/ |
Tests NULL default value callbacks. |
BaseFieldDefinitionTestBase | class | core/ |
Provides setup method for testing base field definitions. |
BaseFieldDefinitionTestBase.php | file | core/ |
|
BaseFieldDefinitionTestBase::$definition | property | core/ |
The field definition used in this test. |
BaseFieldDefinitionTestBase::getModuleAndPath | function | core/ |
Returns the module name and the module directory for the plugin. |
BaseFieldDefinitionTestBase::getPluginId | function | core/ |
Returns the plugin ID of the tested field type. |
BaseFieldDefinitionTestBase::setUp | function | core/ |
|
BaseFieldFileFormatterBase | class | core/ |
Base class for file formatters, which allow to link to the file download URL. |
BaseFieldFileFormatterBase.php | file | core/ |
|
BaseFieldFileFormatterBase::$fileUrlGenerator | property | core/ |
The file URL generator. |
BaseFieldFileFormatterBase::create | function | core/ |
Creates an instance of the plugin. |
Pagination
- Previous page
- Page 73
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.