| 1 file.api.php | hook_file_field_inline_fields_widgets() |
Provides a list of file field widgets that support inline fields.
@since 1.34.0
Return value
array: An array of file widgets.
File
- core/
modules/ file/ file.api.php, line 502 - Hooks for file module.
Code
function hook_file_field_inline_fields_widgets() {
$widgets = array();
$widgets['file_generic'] = array(
'element_type' => 'managed_file',
);
$widgets['image_image'] = array(
'element_type' => 'managed_file',
);
return $widgets;
}