You are here

public function ExportEntity::setName in Content Synchronizer 8

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

Sets the Export entity name.

Parameters

string $name: The Export entity name.

Return value

\Drupal\content_synchronizer\Entity\ExportEntityInterface The called Export entity entity.

Overrides ExportEntityInterface::setName

File

src/Entity/ExportEntity.php, line 93

Class

ExportEntity
Defines the Export entity entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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