function _link_default_attributes in Link 6.2
Same name and namespace in other branches
- 7 link.module \_link_default_attributes()
2 calls to _link_default_attributes()
- link_process in ./
link.module - Process the link type element before displaying the field.
- _link_sanitize in ./
link.inc - Cleanup user-entered values for a link field according to field settings.
File
- ./
link.inc, line 216 - Helper functions for Link field, widget and form elements.
Code
function _link_default_attributes() {
return array(
'title' => '',
'target' => LINK_TARGET_DEFAULT,
'class' => '',
'rel' => '',
);
}