.info files are now .info.yml files in Drupal 8


Drupal 7

configure = admin/config/system/actions

Drupal 8

configure: action.admin

Drupal 7 ( theme_name.info )

name = Bartik
description = A flexible, recolorable theme with many regions and a responsive, mobile-first layout.
package = Core
version = VERSION
core = 7.x

; Stylesheets
stylesheets[all][] = css/layout.css
stylesheets[all][] = css/style.css
stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css

; Regions
regions[header] = Header
regions[help] = Help
regions[page_top] = Page top
regions[page_bottom] = Page bottom
regions[highlighted] = Highlighted

regions[featured] = Featured
regions[content] = Content
regions[sidebar_first] = Sidebar first
regions[sidebar_second] = Sidebar second

regions[triptych_first] = Triptych first
regions[triptych_middle] = Triptych middle
regions[triptych_last] = Triptych last

regions[footer_firstcolumn] = Footer first column
regions[footer_secondcolumn] = Footer second column
regions[footer_thirdcolumn] = Footer third column
regions[footer_fourthcolumn] = Footer fourth column
regions[footer] = Footer

; Settings
settings[shortcut_module_link] = 0

Drupal 8( theme_name.info.yml )

name: Bartik
type: theme
description: ‘A flexible, recolorable theme with many regions and a responsive, mobile-first layout.’
package: Core
version: VERSION
core: 8.x

# Stylesheets
stylesheets:
all:
– css/layout.css
– css/style.css
– css/colors.css
print:
– css/print.css

# Regions
regions:
header: Header
help: Help
page_top: ‘Page top’
page_bottom: ‘Page bottom’
highlighted: Highlighted
featured: Featured
content: Content
sidebar_first: ‘Sidebar first’
sidebar_second: ‘Sidebar second’
triptych_first: ‘Triptych first’
triptych_middle: ‘Triptych middle’
triptych_last: ‘Triptych last’
footer_firstcolumn: ‘Footer first column’
footer_secondcolumn: ‘Footer second column’
footer_thirdcolumn: ‘Footer third column’
footer_fourthcolumn: ‘Footer fourth column’
footer: Footer

# Settings
settings:
shortcut_module_link: ‘0’

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s