function addtocopy_variable_info in Add link to copied text 7
Implements hook_variable_info().
File
- ./
addtocopy.variable.inc, line 24 - Variable integration for the Add to Copy module.
Code
function addtocopy_variable_info($options) {
$variables['addtocopy_htmlcopytxt'] = array(
'title' => t('HTML to add to selected text', array(), $options),
'type' => 'string',
'group' => 'addtocopy',
'description' => t('[link] will be replaced with the current page link.', array(), $options),
'default' => '<br>More: <a href="[link]">[link]</a><br>',
'localize' => TRUE,
);
return $variables;
}