function template_preprocess_field_ui_table

Same name and namespace in other branches
  1. 8.9.x core/modules/field_ui/field_ui.module \template_preprocess_field_ui_table()
  2. 10 core/modules/field_ui/field_ui.module \template_preprocess_field_ui_table()
  3. 11.x core/modules/field_ui/field_ui.module \template_preprocess_field_ui_table()

Prepares variables for field UI overview table templates.

Default template: field-ui-table.html.twig.

Parameters

array $variables: An associative array containing:

  • elements: An associative array containing a Form API structure to be rendered as a table.

File

core/modules/field_ui/field_ui.module, line 228

Code

function template_preprocess_field_ui_table(&$variables) {
    template_preprocess_table($variables);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.