You are here

function space::deactivate in Spaces 7.3

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

Called when this space should be deactivated. If a space type uses a PURL modifier to be instantiated, this is the time to remove that condition. Other spaces may need to remove their custom conditions need to be at this point.

2 methods override space::deactivate()
space_type_purl::deactivate in plugins/space_type_purl.inc
Override of deactivate(). Ensure that the PURL modifier is not present when the space is not active.
space_user::deactivate in spaces_user/plugins/space_user.inc
Override of deactivate(). We don't have too many good options here except to leave the user/x path. If the site frontpage has also been set to a user/x path, we just need to fail miserably.

File

plugins/space.inc, line 52

Class

space
Base class describing a space.

Code

function deactivate() {
  return;
}