You are here

function field_ui_theme in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field_ui/field_ui.module \field_ui_theme()
  2. 7 modules/field_ui/field_ui.module \field_ui_theme()

Implements hook_theme().

File

core/modules/field_ui/field_ui.module, line 51
Allows administrators to attach custom fields to fieldable types.

Code

function field_ui_theme() {
  return [
    'field_ui_table' => [
      'variables' => [
        'header' => NULL,
        'rows' => NULL,
        'footer' => NULL,
        'attributes' => [],
        'caption' => NULL,
        'colgroups' => [],
        'sticky' => FALSE,
        'responsive' => TRUE,
        'empty' => '',
      ],
    ],
  ];
}