You are here

public function SplashifyEntity::getName in Splashify 8.2

Gets the Splashify entity name.

Return value

string Name of the Splashify entity.

Overrides SplashifyEntityInterface::getName

File

src/Entity/SplashifyEntity.php, line 72

Class

SplashifyEntity
Defines the Splashify entity entity.

Namespace

Drupal\splashify\Entity

Code

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