function space::activate in Spaces 7.3
Same name and namespace in other branches
- 6.3 plugins/space.inc \space::activate()
- 7 plugins/space.inc \space::activate()
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.
1 call to space::activate()
- space_type_purl::activate in plugins/
space_type_purl.inc - Override of activate(). Ensure that the PURL modifier is present when the space is active.
1 method overrides space::activate()
- space_type_purl::activate in plugins/
space_type_purl.inc - Override of activate(). Ensure that the PURL modifier is present when the space is active.
File
- plugins/
space.inc, line 40
Class
- space
- Base class describing a space.
Code
function activate() {
$this->active = TRUE;
$this
->init_overrides();
return TRUE;
}