true, 'class' => '', ], $options); // render status badge return JLayoutHelper::render( 'taskmanager.components.status', [ 'status' => $status, 'editable' => $options['editable'], 'class' => $options['class'], ], null, [ 'client' => 'admin', ] ) ?: $status->getName(); } }