public function SitewideAlert::shouldNegatePagesToShowOn in Sitewide Alert 8
Should we negate the pages we show on.
Return value
bool TRUE if we should negate the page patterns, FALSE otherwise.
Overrides SitewideAlertInterface::shouldNegatePagesToShowOn
File
- src/
Entity/ SitewideAlert.php, line 507
Class
- SitewideAlert
- Defines the Sitewide Alert entity.
Namespace
Drupal\sitewide_alert\EntityCode
public function shouldNegatePagesToShowOn() : bool {
return (bool) $this
->get('limit_to_pages_negate')->value;
}