added print tool to cards
This commit is contained in:
@@ -194,3 +194,10 @@ function materiotheme_preprocess_commerce_product(array &$variables) {
|
||||
// function materiotheme_theme_suggestions_commerce_product_variation_later(&$suggestions, &$vars) {
|
||||
// $test = 'test';
|
||||
// }
|
||||
|
||||
|
||||
function materiotheme_preprocess_printable(array &$variables) {
|
||||
$site_config = \Drupal::config('system.site');
|
||||
$variables['site_name'] = $site_config->get('name');
|
||||
$variables['slogan'] = $site_config->get('slogan');
|
||||
}
|
||||
|
Reference in New Issue
Block a user