Commit 531979a4 authored by bojanz's avatar bojanz

Issue #3093396 by bojanz: PaymentMethod's is_default boolean is missing a default value

parent 8f071be4
......@@ -317,7 +317,8 @@ class PaymentMethod extends ContentEntityBase implements PaymentMethodInterface
// 'default' is a reserved SQL word, hence the 'is_' prefix.
$fields['is_default'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Default'))
->setDescription(t("Whether this is the user's default payment method."));
->setDescription(t("Whether this is the user's default payment method."))
->setDefaultValue(FALSE);
$fields['expires'] = BaseFieldDefinition::create('timestamp')
->setLabel(t('Expires'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment