Skip to content

Commit 30d4e2a

Browse files
authored
Explicitly save field storage during custom metadata field creation (#34)
1 parent f044c5d commit 30d4e2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Entity/PantheonDocumentCollection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ protected function createNewDrupalField(string $drupal_field_name, string $type)
241241
// it twice.
242242
$field_storage->setSetting('allowed_values_function', static::class . '::getPantheonListOptions');
243243
}
244+
$field_storage->save();
244245
}
245246
$data = [
246247
'field_name' => $drupal_field_name,

0 commit comments

Comments
 (0)