@Config

Categories

Component ID

2126875

Component name

@Config

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

599

Component created

Component changed

Component body

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

Check more examples at At_Config_TestCase::testConfigGet().

Depends on

- https://drupal.org/project/at_base
- https://drupal.org/project/at_autoload
- https://drupal.org/project/at_require (good to have)