schemadotorg_starterkit_recipes-1.0.x-dev/tests/schemadotorg/config/snapshot/field.field.node.recipe.schema_nutrition.yml

tests/schemadotorg/config/snapshot/field.field.node.recipe.schema_nutrition.yml
langcode: en
status: true
dependencies:
  config:
    - field.storage.node.schema_nutrition
    - node.type.recipe
  module:
    - custom_field
id: node.recipe.schema_nutrition
field_name: schema_nutrition
entity_type: node
bundle: recipe
label: Nutrition
description: 'Nutrition information about the recipe or menu item.'
required: false
translatable: true
default_value: {  }
default_value_callback: ''
settings:
  add_more_label: ''
  field_settings:
    serving_size:
      type: text
      weight: 0
      check_empty: false
      widget_settings:
        label: 'Serving size'
        settings:
          description: 'The serving size, in terms of the number of volume or mass.'
          description_display: after
          size: 60
          placeholder: ''
          maxlength: 255
          maxlength_js: false
          prefix: ''
          suffix: ''
          required: false
    calories:
      type: integer
      weight: 1
      check_empty: false
      widget_settings:
        label: Calories
        settings:
          description: 'The number of calories.'
          description_display: after
          placeholder: ''
          min: 0
          max: 10000
          prefix: ''
          suffix: ' calories'
          required: false
          scale: '0'
    carbohydrate_content:
      type: integer
      weight: 2
      check_empty: false
      widget_settings:
        label: 'Carbohydrate content'
        settings:
          description: 'The number of grams of carbohydrates.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    cholesterol_content:
      type: integer
      weight: 3
      check_empty: false
      widget_settings:
        label: Cholesterol
        settings:
          description: 'The number of milligrams of cholesterol.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: milligrams
          required: false
          scale: '0'
    fat_content:
      type: integer
      weight: 4
      check_empty: false
      widget_settings:
        label: Fat
        settings:
          description: 'The number of grams of fat.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    fiber_content:
      type: integer
      weight: 5
      check_empty: false
      widget_settings:
        label: Fiber
        settings:
          description: 'The number of grams of fiber.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    protein_content:
      type: integer
      weight: 6
      check_empty: false
      widget_settings:
        label: Protein
        settings:
          description: 'The number of grams of protein.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    saturated_fat_content:
      type: integer
      weight: 7
      check_empty: false
      widget_settings:
        label: 'Saturated Fat'
        settings:
          description: 'The number of grams of saturated fat.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    sodium_content:
      type: integer
      weight: 8
      check_empty: false
      widget_settings:
        label: Sodium
        settings:
          description: 'The number of milligrams of sodium.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    sugar_content:
      type: integer
      weight: 9
      check_empty: false
      widget_settings:
        label: Sugar
        settings:
          description: 'The number of grams of sugar.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    trans_fat_content:
      type: integer
      weight: 10
      check_empty: false
      widget_settings:
        label: 'Trans fat'
        settings:
          description: 'The number of grams of trans fat.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
    unsaturated_fat_content:
      type: integer
      weight: 11
      check_empty: false
      widget_settings:
        label: 'Unsaturated fat'
        settings:
          description: 'The number of grams of unsaturated fat.'
          description_display: after
          placeholder: ''
          min: 0
          max: 1000
          prefix: ''
          suffix: ' grams'
          required: false
          scale: '0'
field_type: custom

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc