function field_ui_theme
Same name in other branches
- 7.x modules/field_ui/field_ui.module \field_ui_theme()
- 9 core/modules/field_ui/field_ui.module \field_ui_theme()
- 8.9.x core/modules/field_ui/field_ui.module \field_ui_theme()
- 10 core/modules/field_ui/field_ui.module \field_ui_theme()
Implements hook_theme().
File
-
core/
modules/ field_ui/ field_ui.module, line 53
Code
function field_ui_theme() : array {
return [
'field_ui_table' => [
'variables' => [
'header' => NULL,
'rows' => NULL,
'footer' => NULL,
'attributes' => [],
'caption' => NULL,
'colgroups' => [],
'sticky' => FALSE,
'responsive' => TRUE,
'empty' => '',
],
],
// Provide a dedicated template for new storage options as their styling
// is quite different from a typical form element, so it works best to not
// include default form element classes.
'form_element__new_storage_type' => [
'base hook' => 'form_element',
'render element' => 'element',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.