public function ModerationStateTransition::getWeight in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/Entity/ModerationStateTransition.php \Drupal\workbench_moderation\Entity\ModerationStateTransition::getWeight()
Gets the weight for the given transition.
Return value
int The weight of this transition.
Overrides ModerationStateTransitionInterface::getWeight
File
- src/
Entity/ ModerationStateTransition.php, line 120
Class
- ModerationStateTransition
- Defines the Moderation state transition entity.
Namespace
Drupal\workbench_moderation\EntityCode
public function getWeight() {
return $this->weight;
}