function _link_default_attributes in Link 7
Same name and namespace in other branches
- 6.2 link.inc \_link_default_attributes()
Returns the default attributes and their values.
4 calls to _link_default_attributes()
- link_field_info in ./
link.module - Implements hook_field_info().
- link_field_process in ./
link.module - Processes the link type element before displaying the field.
- _link_devel_generate in ./
link.devel_generate.inc - Callback for hook_devel_generate().
- _link_sanitize in ./
link.module - Clean up user-entered values for a link field according to field settings.
File
- ./
link.module, line 1062 - Defines simple link field types.
Code
function _link_default_attributes() {
return array(
'target' => LINK_TARGET_DEFAULT,
'class' => '',
'rel' => '',
);
}