You are here

interface ContactTypeInterface in CRM Core 8

Same name and namespace in other branches
  1. 8.3 modules/crm_core_contact/src/ContactTypeInterface.php \Drupal\crm_core_contact\ContactTypeInterface
  2. 8.2 modules/crm_core_contact/src/ContactTypeInterface.php \Drupal\crm_core_contact\ContactTypeInterface

Defines methods for CRM Contact Type entities.

Hierarchy

Expanded class hierarchy of ContactTypeInterface

All classes that implement ContactTypeInterface

2 files declare their use of ContactTypeInterface
IndividualType.php in modules/crm_core_contact/src/Entity/IndividualType.php
OrganizationType.php in modules/crm_core_contact/src/Entity/OrganizationType.php

File

modules/crm_core_contact/src/ContactTypeInterface.php, line 8

Namespace

Drupal\crm_core_contact
View source
interface ContactTypeInterface {

  /**
   * Returns the human readable name of any or all contact types.
   *
   * @return array
   *   An array containing all human readable names keyed on the machine type.
   */
  public static function getNames();

}

Members

Namesort descending Modifiers Type Description Overrides
ContactTypeInterface::getNames public static function Returns the human readable name of any or all contact types. 2