geo-coop/config/sync/field.field.node.article.field_citation.yml
benjamin melançon 598baeb58b Field Token Value experiment
It's just not up to the task we need it for, conditional statements and
the like.

I don't think?  A single conditional wrapper i'd do and keep it, but i
think we need conditional logic inside it to get formatting.  Maybe not.
2019-08-06 00:32:48 -04:00

25 lines
750 B
YAML

uuid: 015a792f-209b-496f-87c2-aa781043f24d
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_citation
- node.type.article
module:
- field_token_value
id: node.article.field_citation
field_name: field_citation
entity_type: node
bundle: article
label: Citation
description: ''
required: false
translatable: false
default_value:
-
value: ''
default_value_callback: ''
settings:
field_value: 'When citing this article, please use the following format: [node:field_authors:0] [node:field_authors:1] [node:field_authors:2] ([node:field_publication_date:date:custom:Y]). [node:title] [node:field_subtitle]. Grassroots Economic Organizing (GEO). [node:title]'
remove_empty: 1
field_type: field_token_value