@@ -15,4 +15,5 @@ class ActionDefinition { | |||
public const SAVE_AND_ADD_ANOTHER = 'saveAndAddAnother'; | |||
public const SAVE_AND_CONTINUE = 'saveAndContinue'; | |||
public const SAVE_AND_RETURN = 'saveAndReturn'; | |||
public const SWITCH_USER = 'switchUser'; | |||
} |
@@ -12,6 +12,8 @@ class NewsFactory extends AbstractFactory implements NewsFactoryInterface | |||
{ | |||
$news = new News(); | |||
$news->setStatus(1); | |||
return $news; | |||
} | |||
@@ -12,6 +12,8 @@ class PageFactory extends AbstractFactory implements PageFactoryInterface | |||
{ | |||
$page = new Page(); | |||
$page->setStatus(1); | |||
return $page; | |||
} | |||
} |
@@ -12,6 +12,8 @@ class GroupUserFactory extends AbstractFactory implements GroupUserFactoryInterf | |||
{ | |||
$groupUser = new GroupUser(); | |||
$groupUser->setStatus(1); | |||
return $groupUser; | |||
} | |||
} |