Version 5.0.0 beta 5

This commit is contained in:
Neo committed 2025-12-19 17:04:22 -08:00
1 parent 2f24f9de48
commit 57d9db6ce2
218 files changed
+5331 -7416

No files matched your search

@@ -52,37 +52,6 @@ class {class} extends AdminNotification
{
return 'acp_notification_{class}';
}
/**
* Can a member access this type of notification?
*
* @param MemberClass $member The member
* @return bool
*/
public static function permissionCheck( MemberClass $member ): bool
{
return true;// $member->hasAcpRestriction( ... );
}
/**
* Is this type of notification ever optional (controls if it will be selectable as "viewable" in settings)
*
* @return bool
*/
public static function mayBeOptional(): bool
{
return FALSE;
}
/**
* Is this type of notification might recur (controls what options will be available for the email setting)
*
* @return bool
*/
public static function mayRecur(): bool
{
return FALSE;
}
/**
* Notification Title (full HTML, must be escaped where necessary)
@@ -123,14 +92,4 @@ class {class} extends AdminNotification
{
return static::DISMISSIBLE_TEMPORARY;
}
/**
* Quick link from popup menu
*
* @return Url
*/
public function link(): Url
{
return parent::link(); // Url::internal( '...' );
}
}