You are here

protected function space_type_purl::excluded_paths in Spaces 6.3

Same name and namespace in other branches
  1. 7.3 plugins/space_type_purl.inc \space_type_purl::excluded_paths()
  2. 7 plugins/space_type_purl.inc \space_type_purl::excluded_paths()

Return an array of paths from which the space should never be active.

2 calls to space_type_purl::excluded_paths()
space_og::excluded_paths in spaces_og/plugins/space_og.inc
Override of excluded_paths(). Adds og, og/* paths.
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_type_purl::excluded_paths()
space_og::excluded_paths in spaces_og/plugins/space_og.inc
Override of excluded_paths(). Adds og, og/* paths.

File

plugins/space_type_purl.inc, line 26

Class

space_type_purl
Common functionality for space types that use a PURL modifier to trigger their activation. Examples: space_og, space_taxonomy.

Code

protected function excluded_paths() {
  return array(
    'features',
    'features/*',
    'admin',
    'admin/*',
  );
}