You are here

function bricks_preprocess_field_multiple_value_form in Bricks​ 8

Same name and namespace in other branches
  1. 2.x bricks.module \bricks_preprocess_field_multiple_value_form()

Prepares variables for `field-multiple-value-form.html.twig`.

File

./bricks.module, line 171

Code

function bricks_preprocess_field_multiple_value_form(&$variables) {
  _bricks_preprocess_tabledrag_form($variables, 'element', 'entity_reference_autocomplete', $variables['element']['#field_name'] . '-delta-order');
  _bricks_preprocess_tabledrag_form($variables, 'element', 'paragraphs', $variables['element']['#field_name'] . '-delta-order');
}