You are here

public function FormAssemblyEntity::getStatus in FormAssembly 8

Get the published status of the form.

Return value

bool The value of the status field.

Overrides FormAssemblyEntityInterface::getStatus

File

src/Entity/FormAssemblyEntity.php, line 130

Class

FormAssemblyEntity
Defines the FormAssembly Form entity.

Namespace

Drupal\formassembly\Entity

Code

public function getStatus() {
  return $this
    ->get('status')->value;
}