function linkicon_defaults in Link Icon 7
Defines linkicon defaults.
3 calls to linkicon_defaults()
- linkicon_field_formatter_info in ./
linkicon.module - Implements hook_field_formatter_info().
- linkicon_simplify_settings in ./
linkicon.module - Returns simplified linkicon settings without `linkicon_` prefix.
- _linkicon_field_formatter_settings_form in includes/
linkicon.admin.inc - Implements hook_field_formatter_settings_form().
File
- ./
linkicon.module, line 11 - A link field formatter to create icon classes based on predefined titles.
Code
function linkicon_defaults() {
return array(
'linkicon_prefix' => 'icon',
'linkicon_icon_class' => '',
'linkicon_wrapper_class' => '',
'linkicon_global_title' => '',
'linkicon_size' => '',
'linkicon_no_text' => '',
'linkicon_position' => '',
'linkicon_load' => 0,
'linkicon_vertical' => 0,
'linkicon_tooltip' => 0,
'linkicon_maxlength' => '',
'linkicon_style' => '',
'linkicon_color' => '',
'linkicon_font' => '',
'linkicon_bundle' => '',
);
}