You are here

function acquia_lift_target_access in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 acquia_lift.module \acquia_lift_target_access()

Access callback for the Lift Target menu items.

Return value

bool

1 string reference to 'acquia_lift_target_access'
acquia_lift_menu in ./acquia_lift.module
Implements hook_menu().

File

./acquia_lift.module, line 552
acquia_lift.module Provides Acquia Lift-specific personalization functionality.

Code

function acquia_lift_target_access($agent) {
  return $agent->plugin == 'acquia_lift_target' && user_access('manage personalized content') && variable_get('acquia_lift_target_enabled', FALSE);
}