You are here

function template_preprocess_shareaholic_tos_modal in Share Buttons, Related Posts, Content Analytics - Shareaholic 8

Same name and namespace in other branches
  1. 7.3 includes/shareaholic_tos_modal.php \template_preprocess_shareaholic_tos_modal()

Prepare variables to be used in the shareaholic_tos_modal template

File

includes/shareaholic_tos_modal.php, line 27
This file is responsible for the terms of service modal popup (rendering/and handling submit)

Code

function template_preprocess_shareaholic_tos_modal(&$variables) {
  _prepare_template_form_variables($variables, 'shareaholic_tos_modal');
  $variables['image_url'] = SHAREAHOLIC_ASSET_DIR . '/img';
}