By martijn de wit on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
Introduced in version:
Issue links:
Description:
Previously a theme would have to have a filename named "favicon.ico" in the theme directory to get Drupal to display this as the default favicon. One could override this favicon by uploading one in the theme settings, but there was no way for a theme developer to specify what file to use as a favicon, or to use another format than ico.
Now you can specify a path to an image you want the theme to use. In a mytheme.info.yml file, you can specify:
core: 8.x
type: theme
name: 'awesometheme'
description: 'My awesome theme'
logo: 'images/logo.png'
favicon: 'images/favicon.png'
Impacts:
Module developers
Themers