You are here

function template_preprocess_field_ui_table in Drupal 8

Same name and namespace in other branches
  1. 9 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
Allows administrators to attach custom fields to fieldable types.

Code

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