You are here

function linkit_profile_load_all in Linkit 7.3

Same name and namespace in other branches
  1. 7.2 linkit.module \linkit_profile_load_all()

Load all Linkit profiles.

Return value

An array with LinkitProfile objects.

6 calls to linkit_profile_load_all()
LinkitProfileUICRUDTestCase::testLoadAllProfiles in test/linkit_profile.test
Load all profiles.
LinkitProfileUICRUDTestCase::testLoadProfilesNoProfilesExists in test/linkit_profile.test
Load all profiles when no profiles exists.
linkit_profile_editor_load_all in ./linkit.module
Load all Linkit profiles that is for editors.
linkit_profile_field_load_all in ./linkit.module
Load all Linkit profiles that is for fields.
linkit_profile_menu_load_all in ./linkit.module
Load all Linkit profiles that is for menu links.

... See full list

1 string reference to 'linkit_profile_load_all'
linkit_schema in ./linkit.install
Implements hook_schema().

File

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

Code

function linkit_profile_load_all() {
  ctools_include('export');
  $profiles = ctools_export_load_object('linkit_profiles');
  uasort($profiles, 'linkit_profile_sort_weight');
  return $profiles;
}