You are here

public function ParagraphsCategory::getWeight in Paragraphs Editor Enhancements 8

Get the weight of the Paragraphs category.

Return value

int The category weight.

Overrides ParagraphsCategoryInterface::getWeight

File

src/Entity/ParagraphsCategory.php, line 81

Class

ParagraphsCategory
Defines the Example entity.

Namespace

Drupal\paragraphs_ee\Entity

Code

public function getWeight() {
  return $this
    ->get('weight');
}