#2317193 | Port "Add an item to a list" action to D8

Initial port
...perhaps you mean the return value needs to be set as context, i.e. something like this:

Instead of:
return array('list' => $list);

it should be
$this->setContextValue('list', $list);

I'll keep hunting...