$pageId = 123; $cshItem = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('web_info', $pageId);
$contentElementId = 456; $cshItem = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('tt_content', $contentElementId);
$extensionKey = 'my_extension'; $cshItem = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem($extensionKey, 'some_key');This code retrieves the CSH item for a custom extension with the key "my_extension" and the CSH key "some_key". Overall, BackendUtility is included in the TYPO3 CMS package library.