mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
Add public workflow view functionality
Introduced the ability to render public views for workflows, including new templates, handlers, and metadata support. Updated entity interfaces and translations to enhance the public sharing of workflow documents.
This commit is contained in:
@@ -12,6 +12,7 @@ declare(strict_types=1);
|
||||
namespace Chill\MainBundle\Workflow;
|
||||
|
||||
use Chill\MainBundle\Entity\Workflow\EntityWorkflowSend;
|
||||
use Chill\MainBundle\Workflow\Templating\EntityWorkflowViewMetadataDTO;
|
||||
|
||||
interface EntityWorkflowWithPublicViewInterface
|
||||
{
|
||||
@@ -20,5 +21,5 @@ interface EntityWorkflowWithPublicViewInterface
|
||||
*
|
||||
* The public view must be a safe html string
|
||||
*/
|
||||
public function renderPublicView(EntityWorkflowSend $entityWorkflowSend): string;
|
||||
public function renderPublicView(EntityWorkflowSend $entityWorkflowSend, EntityWorkflowViewMetadataDTO $metadata): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user