public function PopupOnLoad::isPublished in Popup On Load 8
Returns the Popup On Load published status indicator.
Unpublished Popup On Load are only visible to restricted users.
Return value
bool TRUE if the Popup On Load is published.
Overrides PopupOnLoadInterface::isPublished
File
- src/
Entity/ PopupOnLoad.php, line 133
Class
- PopupOnLoad
- Defines the Popup On Load entity.
Namespace
Drupal\popup_onload\EntityCode
public function isPublished() {
return (bool) $this
->getEntityKey('status');
}