Merge pull request #18907 from alifrumin/2139
[civicrm-core.git] / CRM / Contact / Form / Task / AddToHousehold.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
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 |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 * This class provides the functionality to add contact(s) to Household.
14 */
15 class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task_AddToParentClass {
16
17 /**
18 * Build the form object.
19 */
20 public function buildQuickForm() {
21 $this->set('contactType', 'Household');
22 $this->assign('contactType', 'Household');
23 parent::buildQuickForm();
24 }
25
26 /**
27 * Process the form after the input has been submitted and validated.
28 */
29 public function postProcess() {
30 parent::postProcess();
31 }
32
33 }