Returns an HTML IMG tag for a particular image from a theme,
which may be an actual file or an icon from a sprite
public static getImage ( string $image, string $alternate = '', array $attributes = [] ) : string | ||
$image | string | The name of the file to get |
$alternate | string | Used to set 'alt' and 'title' attributes of the image |
$attributes | array | An associative array of other attributes |
Результат | string | an html IMG tag |