Hi. Thank you for nice module.
My Drupal site is multilingual and I added multilingual support for footer message.
To declare 'footer_message_msg' as multilingual varible, I added the following file, footer_message.variable.inc :
/**
* @file
* This module provides a configurable footer message as a block.
*/
/**
* Implements hook_variable_info()
*/
function footer_message_variable_info($options) {
$variables['footer_message_msg'] = array(
'type' => 'string',
'title' => t('Site footer', array(), $options),
'default' => 'Drupal',
'description' => t('The footer of this website.', array(), $options),
'required' => FALSE,
);
return $variables;
}
Comments
Comment #1
hkirsman commentedAdd patch for this feature. Also included the group parameter.
Comment #2
hkirsman commentedComment #3
seanberto commentedThis makes sense. Sorry for the delay in getting back to you. Right now, I'm interested in porting the module to D8. But when I get a little time for testing, I'll implement this. It would be great, in the meantime, if we could get a few others to test this patch. I can't imagine any issues, but just to be thorough.
Comment #5
andrew_tspkhThank you for the patch. Commited to 7.x-1.x