You are here

function linkit_get_profile_type in Linkit 7.3

Get profile type.

1 call to linkit_get_profile_type()
linkit_profiles::list_build_row in plugins/export_ui/linkit_profiles.class.php
@TODO: Can we call parent:list_build_row and then just add linkit specific columns?

File

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

Code

function linkit_get_profile_type($type) {
  switch ($type) {
    case LINKIT_PROFILE_TYPE_EDITOR:
      return t('Editor');
    case LINKIT_PROFILE_TYPE_FIELD:
      return t('Field');
    case LINKIT_PROFILE_TYPE_MENU:
      return t('Menu');
    default:
      return t('Can not find the profile type');
  }
}