panels-clameur.pre.php 365 B

1234567891011
  1. <?php
  2. // dsm($vars, 'vars');
  3. // $display = $vars['display'];
  4. // $node_ctx = $display->context['requiredcontext_entity:node_1'];
  5. // dsm($node_ctx, 'node_ctx');
  6. // change css id with node alias to be able to link it with anchors on top menu
  7. // $vars['css_id'] = drupal_get_path_alias('node/'.$node_ctx->data->nid);
  8. // dsm($vars['css_id'], 'css_id');