{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/7829","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/7829/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/7829/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/7829/events","html_url":"https://github.com/Elgg/Elgg/issues/7829","id":55638685,"number":7829,"title":"Replace elgg_get_config(\"group_tool_options\") with hook","user":{"login":"jdalsem","id":861833,"avatar_url":"https://avatars.githubusercontent.com/u/861833?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalsem","html_url":"https://github.com/jdalsem","followers_url":"https://api.github.com/users/jdalsem/followers","following_url":"https://api.github.com/users/jdalsem/following{/other_user}","gists_url":"https://api.github.com/users/jdalsem/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalsem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalsem/subscriptions","organizations_url":"https://api.github.com/users/jdalsem/orgs","repos_url":"https://api.github.com/users/jdalsem/repos","events_url":"https://api.github.com/users/jdalsem/events{/privacy}","received_events_url":"https://api.github.com/users/jdalsem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Elgg/Elgg/labels/discussion","name":"discussion","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-27T16:19:07Z","updated_at":"2015-04-22T02:03:58Z","closed_at":null,"body":"https://github.com/Elgg/Elgg/blob/1.10/mod/groups/views/default/groups/edit/tools.php#L11\r\n\r\nCurrently you can register group tool options, but it is hard to conditionally add or remove an option. Maybe we could replace this with a hook mechanisme. We should maybe also look into a mechanisme to get the value form a group (currently it is metadata)."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/94997692","html_url":"https://github.com/Elgg/Elgg/issues/7829#issuecomment-94997692","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/7829","id":94997692,"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-04-22T02:03:58Z","updated_at":"2015-04-22T02:03:58Z","body":"If the config value was injected via $vars, you could use the view_vars hook to do this."}}