Skip to content

Commit

Permalink
Add core Drupal 8 modules, themes, profiles to core components list
Browse files Browse the repository at this point in the history
This change adds the list of modules, themes, and profiles from Drupal 8 (specifically
Drupal 8.1.x-dev) to the info file parser. This allows correctly setting version information
if any contrib module lists one of these core components as dependencies with version
constraint.
  • Loading branch information
hussainweb committed Mar 21, 2016
1 parent 95ae716 commit a724a97
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions src/InfoFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,82 @@ class InfoFile
'seven',
'stark',
],
8 => [
'action',
'aggregator',
'automated_cron',
'ban',
'basic_auth',
'big_pipe',
'block',
'block_content',
'book',
'breakpoint',
'ckeditor',
'color',
'comment',
'config',
'config_translation',
'contact',
'content_translation',
'contextual',
'datetime',
'dblog',
'dynamic_page_cache',
'editor',
'entity_reference',
'field',
'field_ui',
'file',
'filter',
'forum',
'hal',
'help',
'history',
'image',
'inline_form_errors',
'language',
'link',
'locale',
'menu_link_content',
'menu_ui',
'migrate',
'migrate_drupal',
'migrate_drupal_ui',
'node',
'options',
'page_cache',
'path',
'quickedit',
'rdf',
'responsive_image',
'rest',
'search',
'serialization',
'shortcut',
'simpletest',
'statistics',
'syslog',
'system',
'taxonomy',
'telephone',
'text',
'toolbar',
'tour',
'tracker',
'update',
'user',
'views',
'views_ui',
'minimal',
'standard',
'bartik',
'classy',
'garland',
'seven',
'stable',
'stark',
],
];

/**
Expand Down

0 comments on commit a724a97

Please sign in to comment.