/** * Fetch the context help for the given table/field parameters * * @param string $table Table identifier * @param string $field Field identifier * @return array complete Help information */ public function getContextHelp($table, $field) { $helpTextArray = \t3lib_befunc::helpTextArray($table, $field); $moreIcon = $helpTextArray['moreInfo'] ? \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-view-go-forward') : ''; return array('title' => $helpTextArray['title'], 'description' => '<p class="t3-help-short' . ($moreIcon ? ' tipIsLinked' : '') . '">' . $helpTextArray['description'] . $moreIcon . '</p>', 'id' => $table . '.' . $field, 'moreInfo' => $helpTextArray['moreInfo']); }