Missing content entry examples and feedback

Created on 17 February 2023, almost 2 years ago
Updated 21 February 2023, almost 2 years ago

Problem/Motivation

Few questions and feedback:

  1. The examples are missing how to use a multivalue field, be that of text/reference/link/etc(example 1)
  2. The documentation does not clearly identify if you should use "type" or "bundle" for creating entities (example 2).
  3. The documentation does not clearly identify when you need to use "value" (example 3). Is it limited to base fields that do not
    need them?
  4. The usage of "dependency" is not documented anywhere.

Example 1

field_text_multivalue:
 - "something"
 - value: "something"
field_link_multivalue:
  - uri: "https://google.com"
    title: "Google 1"
  - uri: 
    - value: "https://google.com"
    title: 
    - value: "Google 2"
field_reference_multivalue:
  - '#process':
      callback: "reference"
      args:
        - "node"
        - type: "article"
          title: "Some Name 1"
      dependency: "article.content.yml"
  - '#process':
      callback: "reference"
      args:
        - "node"
        - type: "article"
          title: "Some Name 2"
      dependency: "article.content.yml"

Example 2

- entity: "node"
  type: "article"
- entity: "node"
  bundle: "article"

Example 3

# checkboxes
field_checkbox: 1
field_checkbox:
  - value: 1
# text field
field_text: "text"
field_text:
  - value: "text"
# node title
- entity: "node"
  type: "article"
  title: "title"
  title: 
    - value: "title"

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States devkinetic

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024