private function displayLogic()
    {
        if (class_exists('DisplayLogicFormField') && count($this->type_array) > 1) {
            $this->field_list['Root.Main'][5]->hideUnless('Type')->isEqualTo('external');
            $this->field_list['Root.Main'][6]->hideUnless('Type')->isEqualTo('news');
            $this->field_list['Root.Main'][7]->hideUnless('Type')->isEqualTo('download');
        }
    }