Add UI entity support for birth logs.

This commit is contained in:
Michael Stenta 2018-02-22 11:12:24 -05:00
parent a1eef3e309
commit 2c439c8184
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,13 @@ function farm_livestock_farm_ui_entities() {
),
),
'log' => array(
'farm_birth' => array(
'label' => t('Birth record'),
'label_plural' => t('Birth records'),
'view' => 'farm_log_birth',
'farm_asset' => 'animal',
'weight' => 20,
),
'farm_medical' => array(
'label' => t('Medical record'),
'label_plural' => t('Medical records'),