X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fworkflows%2Fsrc%2FWorkflowListBuilder.php;h=eb652ad533096751a2276d5d44a02557b1051940;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=3e94103f4b1caf3e5e6b39a060715557ffa65328;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/workflows/src/WorkflowListBuilder.php b/web/core/modules/workflows/src/WorkflowListBuilder.php index 3e94103f4..eb652ad53 100644 --- a/web/core/modules/workflows/src/WorkflowListBuilder.php +++ b/web/core/modules/workflows/src/WorkflowListBuilder.php @@ -76,7 +76,7 @@ class WorkflowListBuilder extends ConfigEntityListBuilder { '#markup' => $entity->getTypePlugin()->label() ]; - $items = array_map([State::class, 'labelCallback'], $entity->getStates()); + $items = array_map([State::class, 'labelCallback'], $entity->getTypePlugin()->getStates()); $row['states']['data'] = [ '#theme' => 'item_list', '#context' => ['list_style' => 'comma-list'],