Skip to content

Commit

Permalink
Merge pull request #33 from stpaultim/Profile-Type
Browse files Browse the repository at this point in the history
Change Profile to Profile Type
  • Loading branch information
bugfolder authored Dec 2, 2024
2 parents 15cb3fa + b48b3dd commit 326efdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions profile.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function profile_type_form($form, &$form_state, $profile_type, $op = 'edit') {
if (!isset($profile_type) && $op == 'add') {
$profile_type = profile_type_set_defaults();
}
backdrop_set_title(t('Add profile type'));
$form['#profile_type'] = $profile_type;
$form['profile_type'] = array(
'#value' => $profile_type,
Expand Down
4 changes: 2 additions & 2 deletions profile.module
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function profile_menu() {
);

$items['admin/structure/profiles'] = array(
'title' => 'Profiles',
'title' => 'Profile types',
'page callback' => 'backdrop_get_form',
'page arguments' => array('profile_type_overview_form', 'profile_type'),
'description' => 'Manage profiles.',
Expand All @@ -171,7 +171,7 @@ function profile_menu() {
'weight' => -10,
);
$items['admin/structure/profiles/add'] = array(
'title' => 'Add profile',
'title' => 'Add profile type',
'page callback' => 'backdrop_get_form',
'page arguments' => array('profile_type_form', NULL, 'add'),
'access callback' => 'profile_access',
Expand Down

0 comments on commit 326efdf

Please sign in to comment.