delta_injection_theme_settings.inc

  1. nittany7 modules/contrib/delta/plugins/delta/delta_injection_theme_settings.inc
  2. cis7 modules/contrib/delta/plugins/delta/delta_injection_theme_settings.inc
  3. mooc7 modules/contrib/delta/plugins/delta/delta_injection_theme_settings.inc

Classes

File

modules/contrib/delta/plugins/delta/delta_injection_theme_settings.inc
View source
  1. <?php
  2. class delta_injection_theme_settings extends delta_injection {
  3. /**
  4. * @todo
  5. */
  6. function variables() {
  7. return array('theme_' . $this->delta->theme . '_settings');
  8. }
  9. /**
  10. * @todo
  11. */
  12. function inject() {
  13. $cache = &drupal_static('theme_get_setting');
  14. $cache[$this->delta->theme] = NULL;
  15. parent::inject();
  16. }
  17. /**
  18. * @todo
  19. */
  20. function revoke() {
  21. $cache = &drupal_static('theme_get_setting');
  22. $cache[$this->delta->theme] = NULL;
  23. parent::revoke();
  24. }
  25. }