-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LOYALIST-65 Add first/Last Name fields to user accounts
- Loading branch information
Showing
6 changed files
with
170 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
configuration/core.entity_form_display.user.user.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
uuid: 9d3e6da0-4557-4258-a1f7-1492ea119189 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.user.user.field_first_name | ||
- field.field.user.user.field_last_name | ||
module: | ||
- path | ||
- user | ||
id: user.user.default | ||
targetEntityType: user | ||
bundle: user | ||
mode: default | ||
content: | ||
account: | ||
weight: -10 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_first_name: | ||
type: string_textfield | ||
weight: 31 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_last_name: | ||
type: string_textfield | ||
weight: 32 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
language: | ||
weight: 0 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
path: | ||
type: path | ||
weight: 30 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
langcode: true |
39 changes: 39 additions & 0 deletions
39
configuration/core.entity_view_display.user.user.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
uuid: 295a53a6-e766-4f17-abe5-038cb89c7714 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.user.user.field_first_name | ||
- field.field.user.user.field_last_name | ||
module: | ||
- user | ||
id: user.user.default | ||
targetEntityType: user | ||
bundle: user | ||
mode: default | ||
content: | ||
field_first_name: | ||
type: string | ||
label: above | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
weight: 6 | ||
region: content | ||
field_last_name: | ||
type: string | ||
label: above | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
weight: 7 | ||
region: content | ||
member_for: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 5 | ||
region: content | ||
hidden: | ||
blog__personal_blog_link: true | ||
langcode: true | ||
search_api_excerpt: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
uuid: b1db343e-83e0-43a2-a19d-70fc361edba4 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.user.field_first_name | ||
module: | ||
- user | ||
id: user.user.field_first_name | ||
field_name: field_first_name | ||
entity_type: user | ||
bundle: user | ||
label: 'First Name' | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
uuid: bf65f51e-519b-41f4-9a25-f7346a206482 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.user.field_last_name | ||
module: | ||
- user | ||
id: user.user.field_last_name | ||
field_name: field_last_name | ||
entity_type: user | ||
bundle: user | ||
label: 'Last Name' | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
uuid: f28088b7-7bab-4ce5-8674-479a8c3d2d34 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- user | ||
id: user.field_first_name | ||
field_name: field_first_name | ||
entity_type: user | ||
type: string | ||
settings: | ||
max_length: 255 | ||
case_sensitive: false | ||
is_ascii: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
uuid: 4946cf6e-4ebf-47ad-a81f-22d002141a4b | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- user | ||
id: user.field_last_name | ||
field_name: field_last_name | ||
entity_type: user | ||
type: string | ||
settings: | ||
max_length: 255 | ||
case_sensitive: false | ||
is_ascii: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |