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);