You are here

public function FormAssemblyEntity::setName in FormAssembly 8

Sets the FormAssembly Form name.

Parameters

string $name: The FormAssembly Form name.

Return value

\Drupal\formassembly\Entity\FormAssemblyEntityInterface The called FormAssembly Form entity.

Overrides FormAssemblyEntityInterface::setName

File

src/Entity/FormAssemblyEntity.php, line 92

Class

FormAssemblyEntity
Defines the FormAssembly Form entity.

Namespace

Drupal\formassembly\Entity

Code

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