function farm_asset_children_farm_ui_entity_views in farmOS 7
Implements hook_farm_ui_entity_views().
File
- modules/
farm/ farm_asset/ farm_asset_children/ farm_asset_children.module, line 12
Code
function farm_asset_children_farm_ui_entity_views($entity_type, $bundle, $entity) {
// Display View of asset children on assets.
if ($entity_type == 'farm_asset') {
return array(
array(
'name' => 'farm_asset_children',
'display' => 'page',
'title' => t('Children'),
'group' => 'assets',
'weight' => 110,
),
);
}
}