Merge pull request #21957 from eileenmcnaughton/lang
[civicrm-core.git] / Civi / Api4 / ContactType.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 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 *
22 * @see https://docs.civicrm.org/user/en/latest/organising-your-data/contacts/#contact-subtypes
23 * @see \Civi\Api4\Contact
24 * @searchable none
25 * @since 5.19
26 * @package Civi\Api4
27 */
28 class ContactType extends Generic\DAOEntity {
29 use Generic\Traits\OptionList;
30
31 }