You are here

protected function space_og::excluded_paths in Spaces 6.3

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

Override of excluded_paths(). Adds og, og/* paths.

Overrides space_type_purl::excluded_paths

File

spaces_og/plugins/space_og.inc, line 181

Class

space_og
Organic groups integration for Spaces.

Code

protected function excluded_paths() {
  $excluded = parent::excluded_paths();
  $excluded[] = 'og';
  $excluded[] = 'og/my';
  $excluded[] = 'og/all';
  $excluded[] = 'user';
  $excluded[] = 'user/login';
  $excluded[] = 'user/password';
  $excluded[] = 'user/register';
  $excluded[] = 'logout';
  return $excluded;
}