Commit 9548294b authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #2887269 by Manuel Garcia, phenaproxima, larowlan, xjm: Remove...

Issue #2887269 by Manuel Garcia, phenaproxima, larowlan, xjm: Remove unnecessary prefixing from media libraries
parent ef519ee5
media_form:
form:
version: VERSION
js:
js/media_form.js: {}
js/form.js: {}
dependencies:
- core/drupal.form
media_type_form:
type_form:
version: VERSION
js:
js/media_type_form.js: {}
js/type_form.js: {}
dependencies:
- core/drupal.form
......@@ -47,7 +47,7 @@ public function form(array $form, FormStateInterface $form_state) {
$form['created']['#group'] = 'author';
}
$form['#attached']['library'][] = 'media/media_form';
$form['#attached']['library'][] = 'media/form';
$form['#entity_builders']['update_status'] = [$this, 'updateStatus'];
......
......@@ -176,7 +176,7 @@ public function form(array $form, FormStateInterface $form_state) {
$form['additional_settings'] = [
'#type' => 'vertical_tabs',
'#attached' => [
'library' => ['media/media_type_form'],
'library' => ['media/type_form'],
],
];
......
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