Helper method to convert a State value object to a label.
\Drupal\workflows\StateInterface $state: The state.
string The label of the state.
public static function labelCallback(StateInterface $state) { return $state->label(); }