array( 'hidden' => true ), 'typography' => array( 'hidden' => true ), 'responsive' => array( 'hidden' => true ), 'styles-templates' => array( 'hidden' => true ), 'tvd-login-form-wrapper' => array( 'config' => array( 'HorizontalPosition' => array( 'config' => array( 'name' => __( 'Horizontal position', TVE_DASH_TRANSLATE_DOMAIN ), 'buttons' => array( array( 'icon' => 'a_left', 'text' => '', 'value' => 'flex-start', 'default' => true, ), array( 'icon' => 'a_center', 'text' => '', 'value' => 'center', ), array( 'icon' => 'a_right', 'text' => '', 'value' => 'flex-end', ), ), ), 'extends' => 'ButtonGroup', ), 'VerticalPosition' => array( 'config' => array( 'name' => __( 'Vertical position', TVE_DASH_TRANSLATE_DOMAIN ), 'buttons' => array( array( 'icon' => 'top', 'default' => true, 'value' => 'flex-start', ), array( 'icon' => 'vertical', 'value' => 'center', ), array( 'icon' => 'bot', 'value' => 'flex-end', ), ), ), 'extends' => 'ButtonGroup', ), 'FullHeight' => array( 'config' => array( 'name' => '', 'label' => __( 'Stretch content to full height', TVE_DASH_TRANSLATE_DOMAIN ), 'default' => true, ), 'extends' => 'Switch', ), ), ), ); $components['layout']['disabled_controls'] = array( 'Display', 'Alignment' ); return $components; } public function hide() { return true; } } return new Form_Wrapper( 'tvd-login-form-wrapper' );