public function SitewideAlertInterface::getStyleClass in Sitewide Alert 8
Gets the style class to use for the alert.
Return value
string The style class to use.
1 method overrides SitewideAlertInterface::getStyleClass()
- SitewideAlert::getStyleClass in src/
Entity/ SitewideAlert.php - Gets the style class to use for the alert.
File
- src/
Entity/ SitewideAlertInterface.php, line 166
Class
- SitewideAlertInterface
- Provides an interface for defining Sitewide Alert entities.
Namespace
Drupal\sitewide_alert\EntityCode
public function getStyleClass() : string;