Interface OptionalUserProfilePanel
- All Known Implementing Classes:
DarkFeaturesUserProfilePanel
public interface OptionalUserProfilePanel
An optional interface for
ViewProfilePanel modules that allows the panel
to only be show when a criteria is met.- Since:
- v4.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshowPanel(ApplicationUser profileUser, ApplicationUser currentUser) Whether or not to show the panel for a given user to a given user.
-
Method Details
-
showPanel
Whether or not to show the panel for a given user to a given user.- Parameters:
profileUser- The profile being requestedcurrentUser- The current user- Returns:
- true if the panel should be show, otherwise false
-