Skip to content

Commit

Permalink
Adding core_user features
Browse files Browse the repository at this point in the history
  • Loading branch information
FMCorz committed Jul 12, 2024
1 parent 143a5a3 commit 7a55913
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions features/core_user-get_fullname.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "core_user::get_fullname",
"description": "Computes the full name of a user.",
"added": "4.3",
"notes": "This will eventually replace the `fullname` global function."
}
5 changes: 5 additions & 0 deletions features/core_user-get_initials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "core_user::get_initials",
"description": "Get the initials of a user in a way compatible with internationalisation.",
"added": "4.4"
}
5 changes: 5 additions & 0 deletions features/core_user-get_profile_picture.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "core_user::get_profile_picture",
"description": "Returns a `user_picture` renderable that renders into the user's profile picture.",
"added": "4.3"
}
5 changes: 5 additions & 0 deletions features/core_user-get_profile_url.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "core_user::get_profile_url",
"description": "Returns a `moodle_url` pointing to the user's profile, or course profile.",
"added": "4.3"
}

0 comments on commit 7a55913

Please sign in to comment.