*
* Generated from xml/schema/CRM/Core/Phone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a6e9de26d34f355e2365c6d4336f734f)
+ * (GenCodeChecksum:dcfc4989d248f3990a5ac2a422597061)
*/
/**
*/
public static $_tableName = 'civicrm_phone';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-phone';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Phones');
+ }
+
/**
* Returns foreign keys and entity references.
*
'is_primary' => [
'name' => 'is_primary',
'type' => CRM_Utils_Type::T_BOOLEAN,
- 'title' => ts('Is Phone Primary?'),
+ 'title' => ts('Primary phone'),
'description' => ts('Is this the primary phone for this contact and location.'),
'where' => 'civicrm_phone.is_primary',
'default' => '0',
'entity' => 'Phone',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Radio',
+ ],
],
'is_billing' => [
'name' => 'is_billing',