Problem/Motivation

Integrate with anonymous_login module automatically.

Proposed resolution

Implement the hook that is to be added here #2816507: Add an API, so modules can integrate seamlessly with this one..

POC code:

 /**
 * Implements hook_anonymous_login_paths_alter().
 *
 * Used to make a no-config integration with the 'anonymous_login' module.
 *
 * @param array $paths
 *   List of exclude/include directives for the anonymous_login module.
 */
function legal_anonymous_login_paths_alter(&$paths) {
  $paths['exclude'][] = 'legal';
  $paths['exclude'][] = 'legal_accept/*';
}

Remaining tasks

Patch in anonymous log-in.
Discussion + patch here.

User interface changes

None.

API changes

New hook implementation. (API addition).

Data model changes

None.

Comments

ndobromirov created an issue. See original summary.

ndobromirov’s picture

Status: Active » Postponed

Setting state to postponed on the other issue.

ndobromirov’s picture

Status: Postponed » Active

This can be active now. The API in anonymous_login is present in the latest development version.

  • Robert Castelo committed c8cf96f on 7.x-1.x
    Issue #2816521 by ndobromirov: Integrate with anonymous_login
    
robert castelo’s picture

Status: Active » Fixed

Added to 7 dev branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.