Open all site links in top window

Public

Open all site links in top window if site displayd in iframe

Get raw version
php
  1. $element = array(
  2. '#tag' => 'base',
  3. '#attributes' => array(
  4. 'target' => '_parent',
  5. ),
  6. );
  7. drupal_add_html_head($element, 'base');