Add Landingpage feature flag

MAILPOET-4795
This commit is contained in:
Oluwaseun Olorunsola
2022-12-22 08:13:37 +01:00
committed by Aschepikov
parent ea53728799
commit 478eab61e4

View File

@@ -7,10 +7,13 @@ use MailPoetVendor\Doctrine\DBAL\Exception\TableNotFoundException;
class FeaturesController {
const FEATURE_HOMEPAGE = 'homepage';
const FEATURE_LANDINGPAGE = 'landingpage';
// Define feature defaults in the array below in the following form:
// self::FEATURE_NAME_OF_FEATURE => true,
private $defaults = [
self::FEATURE_HOMEPAGE => false,
self::FEATURE_LANDINGPAGE => false,
];
/** @var array|null */