You are here

public function WebformProtectedDownloads::isActive in Webform Protected Downloads 8

Check if link is active.

Return value

bool Return bool.

File

src/Entity/WebformProtectedDownloads.php, line 55

Class

WebformProtectedDownloads
Defines the Webform protected downloads entity.

Namespace

Drupal\webform_protected_downloads\Entity

Code

public function isActive() {
  return (bool) $this->active->value;
}