You are here

public function WorkspacePointer::getWorkspaceAvailable in Workspace 8

Returns the availability of the workspace.

Return value

bool

Overrides WorkspacePointerInterface::getWorkspaceAvailable

File

src/Entity/WorkspacePointer.php, line 129

Class

WorkspacePointer
Defines the Workspace pointer entity.

Namespace

Drupal\workspace\Entity

Code

public function getWorkspaceAvailable() {
  return (bool) $this
    ->get('workspace_available')->value;
}