*
* Generated from xml/schema/CRM/Contact/Contact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:254705f91b182cf2ded06a3caf578f6e)
+ * (GenCodeChecksum:f118596cceae71668861504b7316afa7)
*/
/**
/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {
- return ts('Contacts');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Contacts') : ts('Contact');
}
/**
'current_employer_id' => [
'name' => 'employer_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Current Employer'),
+ 'title' => ts('Current Employer ID'),
'description' => ts('OPTIONAL FK to civicrm_contact record.'),
'where' => 'civicrm_contact.employer_id',
'export' => TRUE,
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => [
'type' => 'EntityRef',
+ 'label' => ts("Current Employer"),
],
'add' => '2.1',
],