Skip to content
Snippets Groups Projects
Commit 62e2c1d8 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[TASK] remove dead code

parent 02520d52
No related branches found
No related tags found
No related merge requests found
......@@ -37,30 +37,6 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
* Service class for the meta data within the header
*/
class HeaderMetaDataService {
/**
* Sets the data for the og:image meta data header tag.
*
* @param string|FileReference $path
* @return void
*/
public static function addOgImageToHeader($path): void {
/** @var TypoScriptFrontendController $typoScriptController */
$typoScriptController = $GLOBALS['TSFE'];
$typoScriptController->page['og_image_path_by_extension'] = $path;
}
/**
* Sets the data for the og:image meta data header tag.
*
* @param FileReference $file
* @return void
*/
public static function addOgImageObjectToHeader($file): void {
/** @var TypoScriptFrontendController $typoScriptController */
$typoScriptController = $GLOBALS['TSFE'];
$typoScriptController->page['og_image_path_by_extension'] = $file;
}
/**
* Adds the page number to the canonical
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment