ModerationStateTransition::getWeight

public ModerationStateTransition::getWeight()

Gets the weight for the given transition.

Return value

int The weight of this transition.

Overrides ModerationStateTransitionInterface::getWeight

File

core/modules/content_moderation/src/Entity/ModerationStateTransition.php, line 110

Class

ModerationStateTransition
Defines the Moderation state transition entity.

Namespace

Drupal\content_moderation\Entity

Code

public function getWeight() {
  return $this->weight;
}
doc_Drupal
2016-10-29 09:28:54
Comments
Leave a Comment

Please login to continue.