Как добавить цели отслеживания яндекса в Drupal 7
Для этого нам нужен всего лишь hook_form_alter() и наш ID формы: function my_module_form_alter (...
function my_theme_preprocess_page(&$variables) { $variables['logopath'] = '/' . drupal_get_path('theme','my_theme') . '/logo.png'; }
<img class="logo" src="{{ logopath }}" />