You are here

function space::init_overrides in Spaces 7

Same name and namespace in other branches
  1. 6.3 plugins/space.inc \space::init_overrides()
  2. 7.3 plugins/space.inc \space::init_overrides()

Initialize any overrides as necessary.

1 call to space::init_overrides()
space::activate in plugins/space.inc
Called from spaces_init_space(). Determine whether this space can be set as the current active space. Override to provide custom logic for bailing the spaces bootstrap.

File

plugins/space.inc, line 77

Class

space
Base class describing a space.

Code

function init_overrides() {
  foreach (spaces_controllers() as $c => $info) {
    if (isset($this->controllers->{$c})) {
      $this->controllers->{$c}
        ->init_overrides();
    }
  }
}