Commit | Line | Data |
---|---|---|
19b53e5b | 1 | <?php |
380f3545 TO |
2 | /* |
3 | +--------------------------------------------------------------------+ | |
41498ac5 | 4 | | Copyright CiviCRM LLC. All rights reserved. | |
380f3545 | 5 | | | |
41498ac5 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 | | |
380f3545 TO |
9 | +--------------------------------------------------------------------+ |
10 | */ | |
19b53e5b C |
11 | namespace Civi\Api4; |
12 | ||
13 | /** | |
14 | * ContactType entity. | |
15 | * | |
16 | * With this entity you can create or update any new or existing Contact type or a sub type | |
17 | * In case of updating existing ContactType, id of that particular ContactType must | |
18 | * be in $params array. | |
19 | * | |
20 | * Creating a new contact type requires at minimum a label and parent_id. | |
21 | * | |
0493ec47 CW |
22 | * @see https://docs.civicrm.org/user/en/latest/organising-your-data/contacts/#contact-subtypes |
23 | * @see \Civi\Api4\Contact | |
8a1d7308 | 24 | * @searchable none |
d44cc3cb | 25 | * @since 5.19 |
19b53e5b C |
26 | * @package Civi\Api4 |
27 | */ | |
28 | class ContactType extends Generic\DAOEntity { | |
09815e9c | 29 | use Generic\Traits\OptionList; |
19b53e5b C |
30 | |
31 | } |