You are here

public function ImportEntity::setName in Content Synchronizer 8.2

Same name and namespace in other branches
  1. 8 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::setName()
  2. 3.x src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::setName()

Sets the Import name.

Parameters

string $name: The Import name.

Return value

\Drupal\content_synchronizer\Entity\ImportEntityInterface The called Import entity.

Overrides ImportEntityInterface::setName

1 call to ImportEntity::setName()
ImportEntity::preSave in src/Entity/ImportEntity.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/ImportEntity.php, line 120

Class

ImportEntity
Defines the Import entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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