public function StateInterface::weight in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::weight()
- 9 core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::weight()
Gets the state's weight.
Return value
int The state's weight.
File
- core/
modules/ workflows/ src/ StateInterface.php, line 41
Class
- StateInterface
- An interface for state value objects.
Namespace
Drupal\workflowsCode
public function weight();