You are here

delta_injection_theme_settings.inc in Delta 7.3

File

plugins/delta/delta_injection_theme_settings.inc
View source
<?php

class delta_injection_theme_settings extends delta_injection {

  /**
   * @todo
   */
  function variables() {
    return array(
      'theme_' . $this->delta->theme . '_settings',
    );
  }

  /**
   * @todo
   */
  function inject() {
    $cache =& drupal_static('theme_get_setting');
    $cache[$this->delta->theme] = NULL;
    parent::inject();
  }

  /**
   * @todo
   */
  function revoke() {
    $cache =& drupal_static('theme_get_setting');
    $cache[$this->delta->theme] = NULL;
    parent::revoke();
  }

}

Classes