You are here

function content_profile_set_settings in Content Profile 6

Saves the content_profile settings of a content type.

3 calls to content_profile_set_settings()
content_profile_admin_settings_submit in ./content_profile.module
content_profile_update_6003 in ./content_profile.install
Update the settings to reflect the changes of the format ('edit_link_sub' has been removed in favour of 'edit_tab')
content_profile_update_6004 in ./content_profile.install
Due to an old bug it may be that the $settings of a content type are '0'. As it should be an array this generates errors. This update fixes up those scrambled settings.

File

./content_profile.module, line 435

Code

function content_profile_set_settings($type, $settings) {
  variable_set('content_profile_' . $type, $settings);
}