Skip to content

Commit 99c4d00

Browse files
authored
Deprecated the isHomePage() function. No longer required.
1 parent f6a6d11 commit 99c4d00

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/Theme/Block/Html/Header

1 file changed

+4
-0
lines changed

app/code/Magento/Theme/Block/Html/Header/Logo.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ public function __construct(
4343
/**
4444
* Check if current url is url for home page
4545
*
46+
* @deprecated This function is no longer used. It was previously used by
47+
* Magento/Theme/view/frontend/templates/html/header/logo.phtml
48+
* to check if the logo should be clickable on the homepage.
49+
*
4650
* @return bool
4751
*/
4852
public function isHomePage()

0 commit comments

Comments
 (0)