Deprecated in Recipe 8.2
Primary tabs
Name![]() |
Location | Type | Deprecation | Direct uses | Namespaced uses | Overrides | Use statements |
---|---|---|---|---|---|---|---|
ingredient-formatter.html.twig |
modules/ |
file | name: The ingredient name. This variable was deprecated in version 8.x-2.0-beta1. It will be removed in version 3.x. It is being deprecated because the entire ingredient entity has been added to the formatter so that other ingredient fields can also be used or printed. Use 'ingredient.label' instead. note: The ingredient note. | ||||
ingredient_quantity_from_decimal |
modules/ |
function | This function was deprecated in version 8.x-2.0 and will be removed in version 3.0.0. Use \Drupal\ingredient\Utility\IngredientQuantityUtility::getQuantityFromDecimal() instead. | ||||
ingredient_quantity_from_fraction |
modules/ |
function | This function was deprecated in version 8.x-2.0 and will be removed in version 3.0.0. Use \Drupal\ingredient\Utility\IngredientQuantityUtility::getQuantityFromFraction() instead. | ||||
ingredient_unit_fuzzymatch |
modules/ |
function | This function was deprecated in version 8.x-2.0 and will be removed in version 3.0.0. Use \Drupal\ingredient\Utility\IngredientUnitFuzzymatch::getUnitFuzzymatch() instead. |