ingredient.units.yml in Recipe 8.2
modules/ingredient/config/install/ingredient.units.yml
3 string references to 'ingredient.units'
- IngredientUnitFuzzymatch::__construct in modules/
ingredient/ src/ Utility/ IngredientUnitFuzzymatch.php - Constructs a new IngredientUnitUtility object.
- IngredientUnitUtility::__construct in modules/
ingredient/ src/ Utility/ IngredientUnitUtility.php - Constructs a new IngredientUnitUtility object.
- ingredient_update_8201 in modules/
ingredient/ ingredient.install - Update unit configuration.
File
modules/ingredient/config/install/ingredient.units.ymlView source
- langcode: en
- unit_sets:
- us:
- name: 'U.S. customary units'
- units:
- cup:
- name: 'cup'
- plural: 'cups'
- abbreviation: 'c'
- aliases: { }
- us liquid pint:
- name: 'pint'
- plural: 'pints'
- abbreviation: 'pt'
- aliases: { }
- us liquid quart:
- name: 'quart'
- plural: 'quarts'
- abbreviation: 'q'
- aliases: { }
- us gallon:
- name: 'gallon'
- plural: 'gallons'
- abbreviation: 'gal'
- aliases: { }
- pound:
- name: 'pound'
- plural: 'pounds'
- abbreviation: 'lb'
- aliases: { }
- ounce:
- name: 'ounce'
- plural: 'ounces'
- abbreviation: 'oz'
- aliases: { }
- us fluid ounce:
- name: 'fluid ounce'
- plural: 'fluid ounces'
- abbreviation: 'fl oz'
- aliases: { }
- si:
- name: 'SI/Metric'
- units:
- milliliter:
- name: 'milliliter'
- plural: 'milliliters'
- abbreviation: 'ml'
- aliases: { }
- centiliter:
- name: 'centiliter'
- plural: 'centiliters'
- abbreviation: 'cl'
- aliases: { }
- liter:
- name: 'liter'
- plural: 'liters'
- abbreviation: 'l'
- aliases: { }
- deciliter:
- name: 'deciliter'
- plural: 'deciliters'
- abbreviation: 'dl'
- aliases: { }
- milligram:
- name: 'milligram'
- plural: 'milligrams'
- abbreviation: 'mg'
- aliases: { }
- gram:
- name: 'gram'
- plural: 'grams'
- abbreviation: 'g'
- aliases: { }
- centigram:
- name: 'centigram'
- plural: 'centigrams'
- abbreviation: 'cg'
- aliases: { }
- kilogram:
- name: 'kilogram'
- plural: 'kilograms'
- abbreviation: 'kg'
- aliases: { }
- common:
- name: 'Common units'
- units:
- tablespoon:
- name: 'tablespoon'
- plural: 'tablespoons'
- abbreviation: 'T'
- aliases:
- - 'tbsp'
- - 'tb'
- teaspoon:
- name: 'teaspoon'
- plural: 'teaspoons'
- abbreviation: 't'
- aliases:
- - 'tsp'
- slice:
- name: 'slice'
- plural: 'slices'
- abbreviation: 'sli'
- aliases: { }
- clove:
- name: 'clove'
- plural: 'cloves'
- abbreviation: 'clv'
- aliases: { }
- loaf:
- name: 'loaf'
- plural: 'loaves'
- abbreviation: 'lf'
- aliases: { }
- pinch:
- name: 'pinch'
- plural: 'pinches'
- abbreviation: 'pn'
- aliases: { }
- package:
- name: 'package'
- plural: 'packages'
- abbreviation: 'pk'
- aliases:
- - 'pack'
- can:
- name: 'can'
- plural: 'cans'
- abbreviation: 'cn'
- aliases:
- - 'jar'
- drop:
- name: 'drop'
- plural: 'drops'
- abbreviation: 'dr'
- aliases: { }
- bunch:
- name: 'bunch'
- plural: 'bunches'
- abbreviation: 'bn'
- aliases: { }
- dash:
- name: 'dash'
- plural: 'dashes'
- abbreviation: 'ds'
- aliases: { }
- carton:
- name: 'carton'
- plural: 'cartons'
- abbreviation: 'ct'
- aliases: { }
- unit:
- name: 'unit'
- plural: 'units'
- aliases:
- - 'each'
- - 'ea'
- - 'whole'
- unknown:
- name: 'unknown'
- plural: 'unknown'
- aliases: { }