Issue #2887269 by Manuel Garcia, phenaproxima, larowlan, xjm: Remove unnecessary prefixing from media libraries

8.4.x
Gabor Hojtsy 2017-06-27 16:33:23 +02:00
parent ef519ee578
commit 9548294b3b
7 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,13 @@
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

View File

@ -47,7 +47,7 @@ class MediaForm extends ContentEntityForm {
$form['created']['#group'] = 'author';
}
$form['#attached']['library'][] = 'media/media_form';
$form['#attached']['library'][] = 'media/form';
$form['#entity_builders']['update_status'] = [$this, 'updateStatus'];

View File

@ -176,7 +176,7 @@ class MediaTypeForm extends EntityForm {
$form['additional_settings'] = [
'#type' => 'vertical_tabs',
'#attached' => [
'library' => ['media/media_type_form'],
'library' => ['media/type_form'],
],
];