Commit 2d018242 authored by catch's avatar catch

Issue #2906879 by xjm, Sam152: WorkflowTypeBase:: labelWeightMultisort() has...

Issue #2906879 by xjm, Sam152: WorkflowTypeBase:: labelWeightMultisort() has meaningful param/return keys, but docs do not indicate this
parent 57762d19
......@@ -266,10 +266,12 @@ public function getTransitions(array $transition_ids = NULL) {
* Sort states or transitions by weight, label, and key.
*
* @param \Drupal\workflows\StateInterface[]|\Drupal\workflows\TransitionInterface[] $objects
* Objects to multi-sort.
* An array of state or transition objects to multi-sort, keyed by the
* state or transition ID.
*
* @return \Drupal\workflows\StateInterface[]|\Drupal\workflows\TransitionInterface[]
* An array of sorted transitions or states.
* An array of sorted transitions or states, keyed by the state or
* transition ID.
*/
protected static function labelWeightMultisort($objects) {
if (count($objects) > 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment