Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -39,6 +39,18 @@ abstract class MenuExtension
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a total notification count that will be displayed
|
||||
* on the mobile menu. Previously was just a report count,
|
||||
* now this allows for other extensions.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function mobileNotificationCount() : int
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to add additional content to userbar
|
||||
*
|
||||
@@ -71,4 +83,27 @@ abstract class MenuExtension
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Add items to the Account Actions dropdown in the ACP member view
|
||||
*
|
||||
* @param MemberClass $member
|
||||
* @return array<MenuItem>
|
||||
*/
|
||||
public function acpAccountActionsMenu( MemberClass $member ) : array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return additional buttons that will be shown on the member list
|
||||
* Buttons should be constructed as an array typically used in ACP tables
|
||||
*
|
||||
* @param MemberClass $member
|
||||
* @return array<string,array>
|
||||
*/
|
||||
public function acpRowButtons( MemberClass $member ) : array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user