diff --git a/pluginformalter.module b/pluginformalter.module index 398ce7c20ff6ec188611e3b16cdbab0d299002c0..6c0235299543c47ee124b4cf8e649daa9d4616db 100644 --- a/pluginformalter.module +++ b/pluginformalter.module @@ -73,6 +73,13 @@ function pluginformalter_field_widget_paragraphs_browser_form_alter(array &$elem pluginformalter_alter_paragraphs($element, $form_state); } +/** + * Implements hook_field_widget_single_element_WIDGET_TYPE_form_alter(). + */ +function pluginformalter_field_widget_single_element_paragraphs_form_alter(array &$element, FormStateInterface &$form_state, array $context) { + pluginformalter_alter_paragraphs($element, $form_state); +} + /** * Utility function used to alter paragraphs forms. *