You are here

public function SitewideAlert::getStyle in Sitewide Alert 8

File

src/Entity/SitewideAlert.php, line 472

Class

SitewideAlert
Defines the Sitewide Alert entity.

Namespace

Drupal\sitewide_alert\Entity

Code

public function getStyle() : string {
  return $this
    ->get('style')->value;
}