use Typo3\CMS\Backend\Utility\BackendUtility; $userId = BackendUtility::getUserId();
use Typo3\CMS\Backend\Utility\BackendUtility; $record = BackendUtility::getRecord('tx_myExt_domain_model_myModel', $uid); $pageId = $record['pid'];
use Typo3\CMS\Backend\Utility\BackendUtility; $pageId = BackendUtility::getPagesTSconfig(0)['rootUid'];These examples demonstrate some of the useful functions available in BackendUtility. By using these functions, developers can perform various backend tasks and streamline their workflow.