You are here

public function ParagraphSet::setName in Paragraphs frontend ui 8

Sets the Paragraph set name.

Parameters

string $name: The Paragraph set name.

Return value

\Drupal\paragraphs_frontend_ui\Entity\ParagraphSetInterface The called Paragraph set entity.

Overrides ParagraphSetInterface::setName

File

src/Entity/ParagraphSet.php, line 83

Class

ParagraphSet
Defines the Paragraph set entity.

Namespace

Drupal\paragraphs_frontend_ui\Entity

Code

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