*
* Generated from xml/schema/CRM/Core/LocBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8b7812b634efd7d94dfe689a0d45d12b)
+ * (GenCodeChecksum:0da5161ce83d29bc7626c1a3b74b2950)
*/
/**
*/
public static $_tableName = 'civicrm_loc_block';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-map-o';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* Whether to return the plural version of the title.
*/
public static function getEntityTitle($plural = FALSE) {
- return $plural ? ts('Loc Blocks') : ts('Loc Block');
+ return $plural ? ts('Locations') : ts('Location');
}
/**
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_IM',
'html' => [
- 'label' => ts("IM"),
+ 'label' => ts("Instant Messenger"),
],
'add' => '2.0',
],
'address_2_id' => [
'name' => 'address_2_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('IM 2 ID'),
+ 'title' => ts('Address 2 ID'),
'where' => 'civicrm_loc_block.address_2_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Address',
'html' => [
- 'label' => ts("IM 2"),
+ 'label' => ts("Address 2"),
],
'add' => '2.0',
],
'im_2_id' => [
'name' => 'im_2_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Instant Messenger 2 ID'),
+ 'title' => ts('IM 2 ID'),
'where' => 'civicrm_loc_block.im_2_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
<comment>Define location specific properties</comment>
<add>2.0</add>
<log>true</log>
+ <title>Location</title>
+ <icon>fa-map-o</icon>
<field>
<name>id</name>
<title>Location Block ID</title>
<title>IM ID</title>
<type>int unsigned</type>
<html>
- <label>IM</label>
+ <label>Instant Messenger</label>
</html>
<add>2.0</add>
</field>
</foreignKey>
<field>
<name>address_2_id</name>
- <title>IM 2 ID</title>
+ <title>Address 2 ID</title>
<type>int unsigned</type>
<html>
- <label>IM 2</label>
+ <label>Address 2</label>
</html>
<add>2.0</add>
</field>
<field>
<name>im_2_id</name>
<type>int unsigned</type>
- <title>Instant Messenger 2 ID</title>
+ <title>IM 2 ID</title>
<html>
<label>Instant Messenger 2</label>
</html>