Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StateInterface.php

function StateInterface::weight

Gets the state's weight.

Return value

int The state's weight.

2 methods override StateInterface::weight()
ContentModerationState::weight in core/modules/content_moderation/src/ContentModerationState.php
Gets the state's weight.
State::weight in core/modules/workflows/src/State.php
Gets the state's weight.

File

core/modules/workflows/src/StateInterface.php, line 41

Class

StateInterface
An interface for state value objects.

Namespace

Drupal\workflows

Code

public function weight();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal