function double_field_theme_suggestions_double_field_subfield in Double Field 4.x
Implements hook_theme_suggestions_HOOK().
@todo remove this once the 'double-field-subfield.html.twig' is removed.
File
- ./
double_field.module, line 91 - Primary module hooks for Double Field module.
Code
function double_field_theme_suggestions_double_field_subfield(array $variables) : array {
return [
'double_field_subfield__' . $variables['elements']['#field_name'],
];
}