Set library item's paragraph field required.
function paragraphs_library_update_8002() { if ($field = FieldConfig::load('paragraph.from_library.field_reusable_paragraph')) { $field ->setRequired(TRUE) ->save(); } }