You are here

public function SiteAlert::getActive in Site Alert 8

File

src/Entity/SiteAlert.php, line 66

Class

SiteAlert
Implements SiteAlert class.

Namespace

Drupal\site_alert\Entity

Code

public function getActive() {
  return $this
    ->get('active')->value;
}