SilverCart\Model\Order\ShoppingCartPositionNotice::addAllowedNotice
Adds a key value pair of allowed notices.
Signature
public function addAllowedNotice(string
$code,
string
$text,
[
$type = self::NOTICE_TYPE_WARNING,
[string
$icon = self::NOTICE_FA_EXCLAMATION_CIRCLE]] )
Parameters
$code
— string- Code
$text
— string- Text
$type
—$icon
— string- Icon
Returns
- void