You are here

public function Workspace::getName in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Entity/Workspace.php \Drupal\opigno_moxtra\Entity\Workspace::getName()

Returns the Collaborative Workspace name.

Return value

string|null The Collaborative Workspace name, or NULL in case name field has not been set on the entity.

Overrides WorkspaceInterface::getName

File

src/Entity/Workspace.php, line 100

Class

Workspace
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

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