You are here

public function Template::getWeight in Wysiwyg API template plugin 3.0.x

Same name and namespace in other branches
  1. 8.2 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 131

Class

Template
Defines the Template entity.

Namespace

Drupal\wysiwyg_template\Entity

Code

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