Newscoop\Service\IThemeManagementService::removeTheme PHP 메소드

removeTheme() 공개 메소드

Delete the theme and all coresponding connections. Please check the isUsedTheme method from IOutputSettingIssueService before removing the theme.
public removeTheme ( Theme | integer $theme ) : boolean
$theme Newscoop\Entity\Theme | integer The theme or theme id to be deleted, not null.
리턴 boolean TRUE if the theme was succesfully deleted, FLASE if the theme is in use and cannot be removed.
    function removeTheme($theme);