Unverified Commit 64640c24 authored by larowlan's avatar larowlan

Issue #2942578 by Sam152: Content Moderation module marked as stable produces...

Issue #2942578 by Sam152: Content Moderation module marked as stable produces failures in Workbench Moderation assets loading
parent 3134f5c4
......@@ -128,6 +128,7 @@ public function buildForm(array $form, FormStateInterface $form_state, ContentEn
];
$form['#theme'] = ['entity_moderation_form'];
$form['#attached']['library'][] = 'content_moderation/content_moderation';
return $form;
}
......
{{ attach_library('content_moderation/content_moderation') }}
<ul class="entity-moderation-form">
<li class="entity-moderation-form__item">{{ form.current }}</li>
<li class="entity-moderation-form__item">{{ form.new_state }}</li>
......
{{ attach_library('content_moderation/content_moderation') }}
<ul class="entity-moderation-form">
<li class="entity-moderation-form__item">{{ form.current }}</li>
<li class="entity-moderation-form__item">{{ form.new_state }}</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment