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
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MauticPlugin\ProgramBundle\Integration;
|
||||
|
||||
use Mautic\IntegrationsBundle\Integration\BasicIntegration;
|
||||
use Mautic\IntegrationsBundle\Integration\ConfigurationTrait;
|
||||
use Mautic\IntegrationsBundle\Integration\Interfaces\BasicInterface;
|
||||
|
||||
class ProgramIntegration extends BasicIntegration implements BasicInterface
|
||||
{
|
||||
use ConfigurationTrait;
|
||||
|
||||
public const NAME = 'Program';
|
||||
public const DISPLAY_NAME = 'Program';
|
||||
|
||||
public function getName(): string
|
||||
{
|
||||
return self::NAME;
|
||||
}
|
||||
|
||||
public function getDisplayName(): string
|
||||
{
|
||||
return self::DISPLAY_NAME;
|
||||
}
|
||||
|
||||
public function getIcon(): string
|
||||
{
|
||||
return 'plugins/ProgramBundle/Assets/img/icon.svg';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user