function hook_farm_plan_consideration_types in farmOS 7
Define plan consideration types.
Return value
array Returns an array of information about consideration types provided by this modules.
Related topics
1 function implements hook_farm_plan_consideration_types()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- farm_plan_farm_plan_consideration_types in modules/
farm/ farm_plan/ farm_plan_consideration/ farm_plan_consideration.module - Implements hook_farm_plan_consideration_types().
1 invocation of hook_farm_plan_consideration_types()
- farm_plan_consideration_types in modules/
farm/ farm_plan/ farm_plan_consideration/ farm_plan_consideration.module - Get available consideration types provided by modules.
File
- modules/
farm/ farm_plan/ farm_plan_consideration/ farm_plan_consideration.api.php, line 32 - Hooks provided by farm_plan_consideration.
Code
function hook_farm_plan_consideration_types() {
return array(
'mytype' => array(
'label' => t('My consideration type'),
'color' => 'green',
),
);
}