function acquia_lift_profiles_install in Acquia Lift Connector 7
Implements hook_install().
File
- acquia_lift_profiles/
acquia_lift_profiles.install, line 10 - Acquia Lift Profiles - Installation file.
Code
function acquia_lift_profiles_install() {
$menu_name = 'acquia-lift-controls';
// Create a link for accessing the Profiles web admin.
$item = array(
'link_title' => 'Acquia Lift Web Admin',
'link_path' => 'http://lift.acquia.com',
'menu_name' => $menu_name,
'options' => array(
'attributes' => array(
'class' => array(
'visitor-actions-ui-ignore',
'acquia-lift-menu-link',
'acquia-lift-web-admin',
),
'target' => '_blank',
),
'alter' => TRUE,
'html' => FALSE,
),
'expanded' => 1,
'weight' => 99,
);
menu_link_save($item);
menu_rebuild();
}