You are here

public function BrowserGroupItem::getWeight in Paragraphs Browser 8

1 call to BrowserGroupItem::getWeight()
BrowserGroupItem::toArray in src/BrowserGroupItem.php

File

src/BrowserGroupItem.php, line 35

Class

BrowserGroupItem

Namespace

Drupal\paragraphs_browser

Code

public function getWeight() {
  return is_numeric($this->weight) ? $this->weight : 0;
}