You are here

function legal_anonymous_login_paths_alter in Legal 7

Implements hook_anonymous_login_paths_alter().

Used to make a no-config integration with the 'anonymous_login' module.

Parameters

array $paths: List of exclude/include directives for the anonymous_login module.

File

./legal.module, line 1075
Module file for Legal.

Code

function legal_anonymous_login_paths_alter(&$paths) {
  $paths['exclude'][] = 'legal';
  $paths['exclude'][] = 'legal_accept/*';
}