Unverified Commit 77e3a5c5 authored by alexpott's avatar alexpott

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

parent bb2ef5d7
......@@ -144,10 +144,6 @@ public function form(array $form, FormStateInterface $form_state) {
'#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'] = [
......
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