Issue #2959963 by msankhala, marcoscano: Remove obsolete code from MediaTypeForm
parent
bb2ef5d7c6
commit
77e3a5c5d7
|
@ -144,10 +144,6 @@ class MediaTypeForm extends EntityForm {
|
|||
'#disabled' => !empty($source),
|
||||
];
|
||||
|
||||
if (!$source) {
|
||||
$form['type']['#empty_option'] = $this->t('- Select media source -');
|
||||
}
|
||||
|
||||
if ($source) {
|
||||
// Media source plugin configuration.
|
||||
$form['source_dependent']['source_configuration'] = [
|
||||
|
|
Loading…
Reference in New Issue