Skip to content

Instantly share code, notes, and snippets.

@welly
Last active January 29, 2024 20:13
Show Gist options
  • Save welly/02dbe668945c589fa289ac9bb61ea343 to your computer and use it in GitHub Desktop.
Save welly/02dbe668945c589fa289ac9bb61ea343 to your computer and use it in GitHub Desktop.
TimestampFormatterSettingsUpdateTest
Array
(
[uuid] => d0e01c96-4fe9-491d-8a00-f42e3b84465e
[langcode] => en
[status] => 1
[dependencies] => Array
(
[config] => Array
(
[0] => field.field.node.page.body
[1] => field.field.node.page.field_foo
[2] => node.type.page
)
[module] => Array
(
[0] => layout_builder
[1] => layout_discovery
[2] => text
[3] => user
)
)
[third_party_settings] => Array
(
[layout_builder] => Array
(
[enabled] => 1
[allow_custom] =>
[sections] => Array
(
[0] => Array
(
[layout_id] => layout_onecol
[layout_settings] => Array
(
[label] =>
)
[components] => Array
(
[93bf4359-06a6-4263-bce9-15c90dc8f357] => Array
(
[uuid] => 93bf4359-06a6-4263-bce9-15c90dc8f357
[region] => content
[configuration] => Array
(
[id] => field_block:node:page:field_foo
[label_display] => FALSE
[context_mapping] => Array
(
[entity] => layout_builder.entity
)
[formatter] => Array
(
[type] => timestamp
[label] => inline
[settings] => Array
(
[date_format] => custom
[custom_date_format] => Y-m-d
[timezone] =>
[tooltip] => Array
(
[date_format] =>
[custom_date_format] =>
)
[time_diff] => Array
(
[enabled] =>
[future_format] => @interval hence
[past_format] => @interval ago
[granularity] => 2
[refresh] => 60
)
)
[third_party_settings] => Array
(
)
)
)
[weight] => 0
[additional] => Array
(
)
)
[f60c7f12-b6c7-4d7f-908b-1513666dde58] => Array
(
[uuid] => f60c7f12-b6c7-4d7f-908b-1513666dde58
[region] => content
[configuration] => Array
(
[label_display] => "0"
[context_mapping] => Array
(
[entity] => layout_builder.entity
)
[id] => field_block:node:page:field_foo
[formatter] => Array
(
[type] => timestamp
[label] => hidden
[settings] => Array
(
[date_format] => custom
[custom_date_format] => Y-m-d
[timezone] =>
[tooltip] => Array
(
[date_format] => long
[custom_date_format] =>
)
[time_diff] => Array
(
[enabled] =>
[future_format] => @interval hence
[past_format] => @interval ago
[granularity] => 2
[refresh] => 60
)
)
[third_party_settings] => Array
(
)
)
)
[weight] => 1
[additional] => Array
(
)
)
[a9163276-dbb7-477f-9f1d-b573b65e7e4e] => Array
(
[uuid] => a9163276-dbb7-477f-9f1d-b573b65e7e4e
[region] => content
[configuration] => Array
(
[label_display] => "0"
[context_mapping] => Array
(
[entity] => layout_builder.entity
)
[id] => field_block:node:page:field_foo
[formatter] => Array
(
[type] => timestamp
[label] => hidden
[settings] => Array
(
[date_format] => custom
[custom_date_format] => Y-m-d
[timezone] =>
[tooltip] => Array
(
[date_format] =>
[custom_date_format] =>
)
[time_diff] => Array
(
[enabled] =>
[future_format] => @interval hence
[past_format] => @interval ago
[granularity] => 2
[refresh] => 60
)
)
[third_party_settings] => Array
(
)
)
)
[weight] => 2
[additional] => Array
(
)
)
)
[third_party_settings] => Array
(
)
)
)
)
)
[id] => node.page.default
[targetEntityType] => node
[bundle] => page
[mode] => default
[content] => Array
(
[body] => Array
(
[type] => text_default
[label] => hidden
[settings] => Array
(
)
[third_party_settings] => Array
(
)
[weight] => 100
[region] => content
)
[field_foo] => Array
(
[type] => timestamp
[label] => hidden
[weight] => 0
[region] => content
[settings] => Array
(
[date_format] => custom
[custom_date_format] => Y-m-d
[timezone] =>
[tooltip] => Array
(
[date_format] =>
[custom_date_format] =>
)
[time_diff] => Array
(
[enabled] =>
[future_format] => @interval hence
[past_format] => @interval ago
[granularity] => 2
[refresh] => 60
)
)
[third_party_settings] => Array
(
)
)
[links] => Array
(
[settings] => Array
(
)
[third_party_settings] => Array
(
)
[weight] => 101
[region] => content
)
)
[hidden] => Array
(
)
)
Array
(
[uuid] => d0e01c96-4fe9-491d-8a00-f42e3b84465e
[langcode] => en
[status] => 1
[dependencies] => Array
(
[config] => Array
(
[0] => field.field.node.page.body
[1] => node.type.page
)
[module] => Array
(
[0] => text
[1] => user
)
)
[id] => node.page.default
[targetEntityType] => node
[bundle] => page
[mode] => default
[content] => Array
(
[body] => Array
(
[type] => text_default
[label] => hidden
[settings] => Array
(
)
[third_party_settings] => Array
(
)
[weight] => 100
[region] => content
)
[links] => Array
(
[settings] => Array
(
)
[third_party_settings] => Array
(
)
[weight] => 101
[region] => content
)
[field_foo] => Array
(
[type] => timestamp
[label] => hidden
[weight] => 0
[region] => content
[settings] => Array
(
[date_format] => custom
[custom_date_format] => Y-m-d
[timezone] =>
)
[third_party_settings] => Array
(
)
)
)
[hidden] => Array
(
)
[third_party_settings] => Array
(
[layout_builder] => Array
(
[enabled] => 1
[allow_custom] =>
[sections] => Array
(
[0] => Array
(
[layout_id] => layout_onecol
[layout_settings] => Array
(
[label] =>
)
[components] => Array
(
[93bf4359-06a6-4263-bce9-15c90dc8f357] => Array
(
[uuid] => 93bf4359-06a6-4263-bce9-15c90dc8f357
[region] => content
[configuration] => Array
(
[id] => field_block:node:page:field_foo
[label_display] => FALSE
[context_mapping] => Array
(
[entity] => layout_builder.entity
)
[formatter] => Array
(
[type] => timestamp
[label] => inline
[settings] => Array
(
[date_format] => custom
[custom_date_format] => Y-m-d
[timezone] =>
)
[third_party_settings] => Array
(
)
)
)
[weight] => 0
[additional] => Array
(
)
)
)
[third_party_settings] => Array
(
)
)
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment