Currently 'expand_css' is a theme function var, but you can't actually set it, anywhere. The only way to change it globally:

/**
 * Implements hook_theme_registry_alter().
 */
function YOURMOD_theme_registry_alter(&$registry) {
  $registry['print']['variables']['expand_css'] = TRUE;
}

which is weird. I think this should be a global setting, like Access images via local file access (they're even slighly related).

Maybe a patch later.

CommentFileSizeAuthor
#2 print-2566965-2.patch1.6 KBrudiedirkx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rudiedirkx created an issue. See original summary.

rudiedirkx’s picture

Status: Active » Needs review
FileSize
1.6 KB

This is a weird method that uses the same tactic: change the default in the theme function.

jcnventura’s picture

Status: Needs review » Closed (won't fix)

This variable is internal to the module, and used only when sending by email. No need for users to set it.