/** * Prepare article icon callback. * * @return string */ public function prepareNewsIconCallback() { $user = BackendUser::getInstance(); return sprintf('system/themes/%s/images/%s', $user->backendTheme, Icons::getTableIcon('tl_article')); }
/** * Get news archive table icon callback. * * @return string */ public function getNewsArchiveIconCallback() { $user = BackendUser::getInstance(); return sprintf('system/themes/%s/images/%s', $user->backendTheme, Icons::getTableIcon('tl_news_archive')); }