refactor(plugin): rename Plan to Program and add audience/UTM routes

Rename the Plan bundle to Program across config, routes, menus, and
controllers (Plan -> Initiative), bump version to 0.16.0, and introduce
new audience and UTM taxonomy routes and permissions to support the
expanded Programs feature set.
This commit is contained in:
Alexandre Gain committed 2026-11-13 22:01:32 +01:00
1 parent 8268fad886
commit 71ff11390b
121 files changed
+5011 -2874

No files matched your search

+4 -4
View File
@@ -2,12 +2,12 @@
declare(strict_types=1);
namespace MauticPlugin\PlanBundle\Entity;
namespace MauticPlugin\ProgramBundle\Entity;
/**
* How important a plan's target is to the plan. The order of the cases is the order of the dropdown.
* How important an initiative's audience is to the initiative. The order of the cases is the order of the dropdown.
*/
enum TargetPriority: string
enum AudiencePriority: string
{
case Primary = 'primary';
case Secondary = 'secondary';
@@ -15,7 +15,7 @@ enum TargetPriority: string
public function getLabelKey(): string
{
return 'mautic.plan.target.priority.'.$this->value;
return 'mautic.program.audience.priority.'.$this->value;
}
public function getLabelClass(): string