Issue #2959963 by msankhala, marcoscano: Remove obsolete code from MediaTypeForm

merge-requests/1654/head
Alex Pott 2018-04-14 19:27:32 +01:00
parent bb2ef5d7c6
commit 77e3a5c5d7
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 0 additions and 4 deletions

View File

@ -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'] = [