30 calls to BaseFieldDefinition::create()
- BaseFieldDefinition::createFromItemType in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Creates a new list data definition for items of the given data type.
- BaseFieldDefinitionTest::testCustomStorage in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests custom storage.
- BaseFieldDefinitionTest::testDefaultFieldSettings in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests the initialization of default field settings.
- BaseFieldDefinitionTest::testDefaultValueCallback in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests default value callbacks.
- BaseFieldDefinitionTest::testFieldCardinality in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field cardinality.
- BaseFieldDefinitionTest::testFieldDefaultValue in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field default value.
- BaseFieldDefinitionTest::testFieldDescription in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field description methods.
- BaseFieldDefinitionTest::testFieldInitialValue in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field initial value.
- BaseFieldDefinitionTest::testFieldLabel in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field label methods.
- BaseFieldDefinitionTest::testFieldName in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field name methods.
- BaseFieldDefinitionTest::testFieldProvider in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests provider.
- BaseFieldDefinitionTest::testFieldRequired in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests required.
- BaseFieldDefinitionTest::testFieldRevisionable in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field revisionable methods.
- BaseFieldDefinitionTest::testFieldSettings in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field settings methods.
- BaseFieldDefinitionTest::testFieldStorageRequired in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests storage required.
- BaseFieldDefinitionTest::testFieldTranslatable in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field translatable methods.
- BaseFieldDefinitionTest::testFieldType in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests field type methods.
- BaseFieldDefinitionTest::testInvalidDefaultValueCallback in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests invalid default value callbacks.
- BaseFieldDefinitionTest::testNullDefaultValueCallback in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - Tests NULL default value callbacks.
- BaseFieldDefinitionTestBase::setUp in core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php - ContentEntityBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ ContentEntityBaseUnitTest.php - EntityAdapterUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ TypedData/ EntityAdapterUnitTest.php - EntityTypedDataDefinitionTest::testFields in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypedDataDefinitionTest.php - Tests deriving metadata about fields.
- FieldItemDataDefinition::createFromDataType in core/
lib/ Drupal/ Core/ Field/ TypedData/ FieldItemDataDefinition.php - Creates a new data definition object.
- FieldSettingsTest::testBaseFieldSettings in core/
tests/ Drupal/ KernelTests/ Core/ Field/ FieldSettingsTest.php - @covers \Drupal\Core\Field\BaseFieldDefinition::getSettings @covers \Drupal\Core\Field\BaseFieldDefinition::setSettings
- FieldSettingsTest::testBaseFieldSettingsOnClone in core/
tests/ Drupal/ KernelTests/ Core/ Field/ FieldSettingsTest.php - Tests the base field settings on a cloned base field definition object.
- FieldTypePluginManagerTest::testCreateInstance in core/
modules/ field/ tests/ src/ Kernel/ FieldTypePluginManagerTest.php - Tests creation of field item instances.
- FieldTypePluginManagerTest::testMainProperty in core/
modules/ field/ tests/ src/ Kernel/ FieldTypePluginManagerTest.php - Tests all field items provide an existing main property.
- Sql::getFieldSchema in core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ Sql.php - Creates schema from an ID definition.
- TypedDataTest::testTypedDataValidation in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php - Tests typed data validation.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.