You are here

public function Template::getWeight in Wysiwyg API template plugin 8.2

Same name and namespace in other branches
  1. 3.0.x src/Entity/Template.php \Drupal\wysiwyg_template\Entity\Template::getWeight()

Gets the template weight.

Return value

int The template weight.

Overrides TemplateInterface::getWeight

File

src/Entity/Template.php, line 114

Class

Template
Defines the Template entity.

Namespace

Drupal\wysiwyg_template\Entity

Code

public function getWeight() : int {
  return $this->weight;
}