Skip to content
Snippets Groups Projects

3439406: Fixing issue with indicators on nested para fields.

1 file
+ 7
0
Compare changes
  • Side-by-side
  • Inline
+ 7
0
@@ -284,3 +284,10 @@ function _require_on_publish_entity_is_publishable($entity_class) {
return TRUE;
}
/**
* Implements hook_field_widget_single_element_WIDGET_TYPE_form_alter().
*/
function require_on_publish_field_widget_single_element_entity_reference_paragraphs_form_alter(array &$element, FormStateInterface $form_state, array $context) {
_require_on_publish_add_indicator_to_paragraph($element, $form_state, $context);
}
Loading