You are here

public function ParagraphSet::getName in Paragraphs frontend ui 8

Gets the Paragraph set name.

Return value

string Name of the Paragraph set.

Overrides ParagraphSetInterface::getName

File

src/Entity/ParagraphSet.php, line 76

Class

ParagraphSet
Defines the Paragraph set entity.

Namespace

Drupal\paragraphs_frontend_ui\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}