You are here

protected function BrowserGroupItem::setId in Paragraphs Browser 8

1 call to BrowserGroupItem::setId()
BrowserGroupItem::__construct in src/BrowserGroupItem.php

File

src/BrowserGroupItem.php, line 47

Class

BrowserGroupItem

Namespace

Drupal\paragraphs_browser

Code

protected function setId($machine_name) {
  if (empty($this->id)) {
    $this->id = $machine_name;
  }
}