Features 8.x

Component type

module

Maintenance status

Development status

Component created

Component changed

NOTE: This sandbox code no longer works with the latest D8 beta version and has been replaced with new code that is actually part of the 8.x-3.x branch of Features itself. So for work on Features 8.x please see the normal Features project and issue queue.

Previous original text of this sandbox is below:


This is an experimental rewrite of the Features module for Drupal 8. The architecture of configuration management in Drupal core has replaced the guts of Features, but the module will live on to expedite and automate the tasks of configuration sharing and distribution-building.

Our goal is not to recreate the previous Features module on top of CMI. It is to identify how some of the same goals can be realized from the Contrib perspective.

Current Mission

  • Identify capabilities needed in Features-style* site-building and distribution maintenance.
  • Determine if those capabilities exist and implement first-pass automation with Drush wrappers.

More Thoughts

Like configuration but maybe not Features? Please help improve Configuration Management in core with the CMI initiative.

@Autoload

Component type

module

Categories

Maintenance status

Development status

Downloads

643

Component created

Component changed

Note: The feature is merged to at_base

Support PSR-4 autloading for Drupal 7 modules.

Module that defines dependencies[] = at_base in info file, can autoload the classes:

/path/to/module/lib/Class.php -> Drupalmodule_nameClass
/path/to/module/lib/Controller/PageX.php -> Drupalmodule_nameControllerPageX

Depends on at_base.module

@Config

Component type

module

Categories

Maintenance status

Development status

Downloads

599

Component created

Component changed

Note: The feature is merged to at_base

Simple config API for modules.

Install

Spyc.php is needed to read yaml files.

Download Spyc.php (http://goo.gl/kMwPil) to sites/all/libraries/spyc/Spyc.php

at_require.module can help download libraries automatilcally.

Usages

echo at_config('atest_config')->get('foo'); // bar

@Theming

Component type

module

Maintenance status

Development status

Downloads

975

Component created

Component changed

Note: The feature is merged to at_base

Provide some helper method for theming.

Check the tests for more details.

Install

Download Twig library to /sites/all/libraries/twig — where we can find /sites/all/libraries/twig/lib/Twig/Autoloader.php

at_require.module can help download libraries automatilcally.

@Route

Component type

module

Maintenance status

Development status

Downloads

560

Component created

Component changed

Note: The feature is merged to at_base

Faster way to define menu item in Drupal 7: