Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getIdentity () | |
isDisplayed () | |
getText () | |
getSeverity () | |
Data Fields | |
const | SEVERITY_CRITICAL = 1 |
const | SEVERITY_MAJOR = 2 |
const | SEVERITY_MINOR = 3 |
const | SEVERITY_NOTICE = 4 |
Interface for system messages
Interface MessageInterface
@api
Definition at line 19 of file MessageInterface.php.
getIdentity | ( | ) |
Retrieve unique message identity
Implemented in Security, Baseurl, RecreatedIntegration, Notifications, EmptyGroupCategory, CacheOutdated, ApplyDiscountOnPrices, Message, DiscountErrors, Invalid, RoundingErrors, AbstractSynchronization, and NotificationAboutFailedSubscription.
getSeverity | ( | ) |
Retrieve message severity
Implemented in Security, Baseurl, Notifications, CacheOutdated, RecreatedIntegration, ApplyDiscountOnPrices, DiscountErrors, RoundingErrors, EmptyGroupCategory, Invalid, AbstractSynchronization, NotificationAboutFailedSubscription, and Message.
getText | ( | ) |
Retrieve message text
Implemented in Security, Baseurl, Notifications, RecreatedIntegration, CacheOutdated, ApplyDiscountOnPrices, DiscountErrors, RoundingErrors, EmptyGroupCategory, Invalid, NotificationAboutFailedSubscription, Success, Error, and Message.
isDisplayed | ( | ) |
Check whether
Implemented in Security, Baseurl, Notifications, CacheOutdated, ApplyDiscountOnPrices, DiscountErrors, RoundingErrors, AbstractSynchronization, RecreatedIntegration, EmptyGroupCategory, NotificationAboutFailedSubscription, and Message.
const SEVERITY_CRITICAL = 1 |
Definition at line 21 of file MessageInterface.php.
const SEVERITY_MAJOR = 2 |
Definition at line 23 of file MessageInterface.php.
const SEVERITY_MINOR = 3 |
Definition at line 25 of file MessageInterface.php.
const SEVERITY_NOTICE = 4 |
Definition at line 27 of file MessageInterface.php.