You are here

public function ModerationStateTransitionInterface::getWeight in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/ModerationStateTransitionInterface.php \Drupal\workbench_moderation\ModerationStateTransitionInterface::getWeight()

Gets the weight for the given transition.

Return value

int The weight of this transition.

1 method overrides ModerationStateTransitionInterface::getWeight()
ModerationStateTransition::getWeight in src/Entity/ModerationStateTransition.php
Gets the weight for the given transition.

File

src/ModerationStateTransitionInterface.php, line 34

Class

ModerationStateTransitionInterface
Provides an interface for defining Moderation state transition entities.

Namespace

Drupal\workbench_moderation

Code

public function getWeight();