public function WorkspacePointer::setName in Workspace 8
Sets the Workspace pointer name.
Parameters
string $name: The Workspace pointer name.
Return value
\Drupal\workspace\WorkspacePointerInterface The called Workspace pointer entity.
Overrides WorkspacePointerInterface::setName
File
- src/
Entity/ WorkspacePointer.php, line 67
Class
- WorkspacePointer
- Defines the Workspace pointer entity.
Namespace
Drupal\workspace\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}