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:
1 parent
8268fad886
commit
71ff11390b
121 files changed
+5011
-2874
No files matched your search
@@ -2,18 +2,18 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MauticPlugin\PlanBundle\Integration;
|
||||
namespace MauticPlugin\ProgramBundle\Integration;
|
||||
|
||||
use Mautic\IntegrationsBundle\Integration\BasicIntegration;
|
||||
use Mautic\IntegrationsBundle\Integration\ConfigurationTrait;
|
||||
use Mautic\IntegrationsBundle\Integration\Interfaces\BasicInterface;
|
||||
|
||||
class PlanIntegration extends BasicIntegration implements BasicInterface
|
||||
class ProgramIntegration extends BasicIntegration implements BasicInterface
|
||||
{
|
||||
use ConfigurationTrait;
|
||||
|
||||
public const NAME = 'Plan';
|
||||
public const DISPLAY_NAME = 'Plan';
|
||||
public const NAME = 'Program';
|
||||
public const DISPLAY_NAME = 'Program';
|
||||
|
||||
public function getName(): string
|
||||
{
|
||||
@@ -27,6 +27,6 @@ class PlanIntegration extends BasicIntegration implements BasicInterface
|
||||
|
||||
public function getIcon(): string
|
||||
{
|
||||
return 'plugins/PlanBundle/Assets/img/icon.svg';
|
||||
return 'plugins/ProgramBundle/Assets/img/icon.svg';
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -2,13 +2,13 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MauticPlugin\PlanBundle\Integration\Support;
|
||||
namespace MauticPlugin\ProgramBundle\Integration\Support;
|
||||
|
||||
use Mautic\IntegrationsBundle\Integration\DefaultConfigFormTrait;
|
||||
use Mautic\IntegrationsBundle\Integration\Interfaces\ConfigFormInterface;
|
||||
use MauticPlugin\PlanBundle\Integration\PlanIntegration;
|
||||
use MauticPlugin\ProgramBundle\Integration\ProgramIntegration;
|
||||
|
||||
class ConfigSupport extends PlanIntegration implements ConfigFormInterface
|
||||
class ProgramConfigSupport extends ProgramIntegration implements ConfigFormInterface
|
||||
{
|
||||
use DefaultConfigFormTrait;
|
||||
}
|
||||
Reference in new issue
Block a user