addElement( 'select', 'type', [ 'label' => 'View Type', 'required' => true, 'multioptions' => [ '' => 'Select One', Entity::VIEW_TYPE_LIST => 'List', Entity::VIEW_TYPE_SLIDER => 'Slider', ], ] ); return $this; } }