function node_colors_info in Colors 7
Implements hook_colors_info().
File
- includes/
node.colors.inc, line 11 - Provides Color integration on behalf of node.module.
Code
function node_colors_info() {
return array(
'node_type' => array(
'title' => 'Node type',
'short_description' => t('Enable colors for node types'),
'long_description' => t('Colors for node types. If enabled, you may set colors for each node type below.'),
'function' => 'node_type_get_names',
),
);
}