You are here

function linkit_set_active_profile in Linkit 7.3

Temporary saves the active profile. Active means that the user is working with the profile in the dialog.

Parameters

string LinkitProfile $profile: A LinkitProfile object.

3 calls to linkit_set_active_profile()
linkit_autocomplete in ./linkit.module
Autocomplete callback function.
linkit_dashboard_form in ./linkit.module
Create the dashboard page.
linkit_dashboard_page in ./linkit.module
Creates the dialog dashboard.

File

./linkit.module, line 213
Main file for Linkit module.

Code

function linkit_set_active_profile(LinkitProfile $profile) {
  $active_profile =& drupal_static('linkit_active_profile');
  $active_profile = $profile;
}