public function WorkspacePointer::setWorkspaceAvailable in Workspace 8
Sets the availability of the workspace.
Parameters
bool $available:
Return value
$this
Overrides WorkspacePointerInterface::setWorkspaceAvailable
File
- src/
Entity/ WorkspacePointer.php, line 121
Class
- WorkspacePointer
- Defines the Workspace pointer entity.
Namespace
Drupal\workspace\EntityCode
public function setWorkspaceAvailable($available = TRUE) {
$this
->set('workspace_available', $available);
return $this;
}