{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1300","repository_url":"https://api.github.com/repos/backdrop/backdrop-issues","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1300/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1300/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1300/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/1300","id":110480231,"number":1300,"title":"Add class to layout region.","user":{"login":"Gormartsen","id":5018896,"avatar_url":"https://avatars.githubusercontent.com/u/5018896?v=3","gravatar_id":"","url":"https://api.github.com/users/Gormartsen","html_url":"https://github.com/Gormartsen","followers_url":"https://api.github.com/users/Gormartsen/followers","following_url":"https://api.github.com/users/Gormartsen/following{/other_user}","gists_url":"https://api.github.com/users/Gormartsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Gormartsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gormartsen/subscriptions","organizations_url":"https://api.github.com/users/Gormartsen/orgs","repos_url":"https://api.github.com/users/Gormartsen/repos","events_url":"https://api.github.com/users/Gormartsen/events{/privacy}","received_events_url":"https://api.github.com/users/Gormartsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/pr%20-%20needs%20work","name":"pr - needs work","color":"FFECE8"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/status%20-%20has%20pull%20request","name":"status - has pull request","color":"d4c5f9"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/status%20-%20needs%20feedback","name":"status - needs feedback","color":"fef2c0"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/type%20-%20feature%20request","name":"type - feature request","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/20","html_url":"https://github.com/backdrop/backdrop-issues/milestones/1.4.0","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/20/labels","id":1398592,"number":20,"title":"1.4.0","description":"1.4.0","creator":{"login":"jenlampton","id":397895,"avatar_url":"https://avatars.githubusercontent.com/u/397895?v=3","gravatar_id":"","url":"https://api.github.com/users/jenlampton","html_url":"https://github.com/jenlampton","followers_url":"https://api.github.com/users/jenlampton/followers","following_url":"https://api.github.com/users/jenlampton/following{/other_user}","gists_url":"https://api.github.com/users/jenlampton/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlampton/subscriptions","organizations_url":"https://api.github.com/users/jenlampton/orgs","repos_url":"https://api.github.com/users/jenlampton/repos","events_url":"https://api.github.com/users/jenlampton/events{/privacy}","received_events_url":"https://api.github.com/users/jenlampton/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":5,"state":"open","created_at":"2015-11-06T22:11:56Z","updated_at":"2016-05-02T07:52:24Z","due_on":"2016-05-15T07:00:00Z","closed_at":null},"comments":29,"created_at":"2015-10-08T15:48:58Z","updated_at":"2016-05-05T18:17:55Z","closed_at":null,"body":"Add ability to add class to layout via template.php\r\nRight now class hard coded to layout tpl file.\r\n\r\nIt will help to support different layouts on theme level."},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/217231804","html_url":"https://github.com/backdrop/backdrop-issues/issues/1300#issuecomment-217231804","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1300","id":217231804,"user":{"login":"jenlampton","id":397895,"avatar_url":"https://avatars.githubusercontent.com/u/397895?v=3","gravatar_id":"","url":"https://api.github.com/users/jenlampton","html_url":"https://github.com/jenlampton","followers_url":"https://api.github.com/users/jenlampton/followers","following_url":"https://api.github.com/users/jenlampton/following{/other_user}","gists_url":"https://api.github.com/users/jenlampton/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlampton/subscriptions","organizations_url":"https://api.github.com/users/jenlampton/orgs","repos_url":"https://api.github.com/users/jenlampton/repos","events_url":"https://api.github.com/users/jenlampton/events{/privacy}","received_events_url":"https://api.github.com/users/jenlampton/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T18:17:54Z","updated_at":"2016-05-05T18:17:54Z","body":"Okay, here's a version with the region styles abstraction removed, but a theme function added. This will satisfy my desire for 1) less abstraction 2) no template files that simply output a div. It does **not** satisfy my desire avoid broken UIs. However, since we are allowing HTML to be specified in other UIs in core (and also provide theme devs ways to break those UIs) this is at least consistent :)\r\n\r\nI'm hoping it will also satisfy @quicksketch's desire for\r\n- no abstraction where not actually used\r\n\r\nI'm hoping it will also satisfy @docwilmot's desire for\r\n- ability for a theme dev to override the tag specified by the end user in the UI.\r\n\r\n"}}