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 Type
    Method
    Description
    boolean
    showPanel(ApplicationUser profileUser, ApplicationUser currentUser)
    Whether or not to show the panel for a given user to a given user.
  • Method Details

    • showPanel

      boolean showPanel(ApplicationUser profileUser, ApplicationUser currentUser)
      Whether or not to show the panel for a given user to a given user.
      Parameters:
      profileUser - The profile being requested
      currentUser - The current user
      Returns:
      true if the panel should be show, otherwise false