You are here

public function SplashifyEntity::setName in Splashify 8.2

Sets the Splashify entity name.

Parameters

string $name: The Splashify entity name.

Return value

\Drupal\splashify\Entity\SplashifyEntityInterface The called Splashify entity entity.

Overrides SplashifyEntityInterface::setName

File

src/Entity/SplashifyEntity.php, line 79

Class

SplashifyEntity
Defines the Splashify entity entity.

Namespace

Drupal\splashify\Entity

Code

public function setName($name) {
  $this
    ->set('name', $name);
  return $this;
}