You are here

public function Workspace::getMachineName in Multiversion 8

Returns the workspace machine name.

Return value

string Machine name of the workspace.

Overrides WorkspaceInterface::getMachineName

File

src/Entity/Workspace.php, line 198

Class

Workspace
The workspace entity class.

Namespace

Drupal\multiversion\Entity

Code

public function getMachineName() {
  return $this
    ->get('machine_name')->value;
}