You are here

public function WorkspacePointer::getName in Workspace 8

Gets the Workspace pointer name.

Return value

string Name of the Workspace pointer.

Overrides WorkspacePointerInterface::getName

File

src/Entity/WorkspacePointer.php, line 60

Class

WorkspacePointer
Defines the Workspace pointer entity.

Namespace

Drupal\workspace\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}