Skip to content

Commit

Permalink
[apigee#321] Increase the max_length for first_name and last_name to 64
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Jan 29, 2020
1 parent 588b008 commit c0be22d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apigee_edge.module
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function apigee_edge_entity_base_field_info(EntityTypeInterface $entity_type) {
$fields['first_name'] = BaseFieldDefinition::create('string')
->setLabel(t('First name'))
->setDescription(t('Your first name.'))
->setSetting('max_length', 32)
->setSetting('max_length', 64)
->setRequired(TRUE)
->setInitialValue('Firstname')
->setDisplayOptions('form', [
Expand All @@ -263,7 +263,7 @@ function apigee_edge_entity_base_field_info(EntityTypeInterface $entity_type) {
$fields['last_name'] = BaseFieldDefinition::create('string')
->setLabel(t('Last name'))
->setDescription(t('Your last name.'))
->setSetting('max_length', 32)
->setSetting('max_length', 64)
->setRequired(TRUE)
->setInitialValue('Lastname')
->setDisplayOptions('form', [
Expand Down

0 comments on commit c0be22d

Please sign in to comment.