Skip to content

Commit 8650f0b

Browse files
committed
correct default values
1 parent cf545f6 commit 8650f0b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/modules/block_content/block_content.install

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ function block_content_update_8600() {
149149
->setDescription(t('The parent entity type.'))
150150
->setTranslatable(FALSE)
151151
->setRevisionable(FALSE)
152-
->setDefaultValue('')
153-
->setInitialValue('');
152+
->setDefaultValue(NULL)
153+
->setInitialValue(NULL);
154154

155155
$update_manager->installFieldStorageDefinition('parent_entity_type', 'block_content', 'block_content', $parent_entity_type);
156156

@@ -159,8 +159,8 @@ function block_content_update_8600() {
159159
->setDescription(t('The parent entity ID.'))
160160
->setTranslatable(FALSE)
161161
->setRevisionable(FALSE)
162-
->setDefaultValue('')
163-
->setInitialValue('');
162+
->setDefaultValue(NULL)
163+
->setInitialValue(NULL);
164164

165165
$update_manager->installFieldStorageDefinition('parent_entity_id', 'block_content', 'block_content', $parent_entity_id);
166166
}

0 commit comments

Comments
 (0)