getShortcutIcon method

getShortcutIcon the current page, this method used only with setShortcutIcon method.

Basic Usage

The basic usage for getShortcutIcon method.

getShortcutIcon(): string

Parameters

There is no parameter available for getShortcutIcon method.

Example Usage

Usually this method called inside a layout file. Here is the basic example for getShortcutIcon method. Here is the content of col-1.php layout file.

<!DOCTYPE html>
<html>
<head>
  ...
  <link rel="shortcut icon" href="<?php echo $this->getShortcutIcon(); ?>" type="image/x-icon" />
  ...
</head>
<body>
  ...
</body>
</html>