Merge pull request #18286 from sunilpawar/ui_30
[civicrm-core.git] / CRM / Contact / Form / Task / AddToHousehold.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
bc77d7c0
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
ee17a760 13 * This class provides the functionality to add contact(s) to Household.
6a488035 14 */
ee17a760 15class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task_AddToParentClass {
6a488035
TO
16
17 /**
fe482240 18 * Build the form object.
6a488035 19 */
00be9182 20 public function buildQuickForm() {
229b180c 21 $this->set('contactType', 'Household');
22 $this->assign('contactType', 'Household');
23 parent::buildQuickForm();
6a488035
TO
24 }
25
26 /**
fe482240 27 * Process the form after the input has been submitted and validated.
6a488035
TO
28 */
29 public function postProcess() {
b92af807 30 parent::postProcess();
6a488035 31 }
96025800 32
6a488035 33}