Skip to content
This repository was archived by the owner on Jan 26, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
uuid: 54b7a11a-a7a8-4d11-b900-b0c63282aba5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

los uuids ligan la configuración a un sitio concreto, no los necesitamos
http://enzolutions.com/articles/2014/08/27/understanding-configuration-management-in-drupal-8/

langcode: ca
status: true
dependencies:
config:
- field.field.node.page.body
- node.type.page
module:
- text
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content:
title:
type: string_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 1
settings: { }
third_party_settings: { }
body:
type: text_textarea_with_summary
weight: 2
settings:
rows: 9
summary_rows: 3
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 3
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
created:
type: datetime_timestamp
weight: 4
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 5
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 6
settings:
display_label: true
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: fcd2b232-5d6a-4f8c-8419-253ff931a4b2
langcode: ca
status: true
dependencies:
config:
- field.field.node.page.body
- node.type.page
module:
- text
- user
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content:
body:
type: text_default
weight: 0
settings: { }
third_party_settings: { }
label: hidden
links:
weight: 1
settings: { }
third_party_settings: { }
hidden:
langcode: true
22 changes: 22 additions & 0 deletions drupalcat/config/install/field.field.node.page.body.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: d16ea9be-8352-4f82-8200-b011b9bb662a
langcode: ca
status: true
dependencies:
config:
- field.storage.node.body
- node.type.page
module:
- text
id: node.page.body
field_name: body
entity_type: node
bundle: page
label: Descripció
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: false
field_type: text_with_summary
1 change: 1 addition & 0 deletions drupalcat/config/install/field_ui.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
field_prefix: field_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

field_ui es un modulo solo necesario para el desarrollo. No tengo claro para que sirve esta setting