{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/8785","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/8785/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/8785/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/8785/events","html_url":"https://github.com/Elgg/Elgg/issues/8785","id":98583850,"number":8785,"title":"`config.php` for DI","user":{"login":"ewinslow","id":356564,"avatar_url":"https://avatars.githubusercontent.com/u/356564?v=3","gravatar_id":"","url":"https://api.github.com/users/ewinslow","html_url":"https://github.com/ewinslow","followers_url":"https://api.github.com/users/ewinslow/followers","following_url":"https://api.github.com/users/ewinslow/following{/other_user}","gists_url":"https://api.github.com/users/ewinslow/gists{/gist_id}","starred_url":"https://api.github.com/users/ewinslow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewinslow/subscriptions","organizations_url":"https://api.github.com/users/ewinslow/orgs","repos_url":"https://api.github.com/users/ewinslow/repos","events_url":"https://api.github.com/users/ewinslow/events{/privacy}","received_events_url":"https://api.github.com/users/ewinslow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-02T04:48:17Z","updated_at":"2015-08-03T03:38:20Z","closed_at":null,"body":"We should support putting/customizing our Injector configuration in `config.php` at the root of plugins. It would be possible to get any value with `elgg_get_config($str)`\r\n\r\n\r\nExample:\r\n\r\n```php\r\n<?php\r\n\r\nreturn [\r\n  'likes:types' => ['comment', 'discussion', 'blog', 'plugin_project', 'plugin_release'],\r\n];\r\n```"},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/127113794","html_url":"https://github.com/Elgg/Elgg/issues/8785#issuecomment-127113794","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/8785","id":127113794,"user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T03:38:20Z","updated_at":"2015-08-03T03:38:20Z","body":"include each config.php with $config in scope."}}