{"action":"closed","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1428","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1428/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1428/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1428/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/1428","id":122847160,"number":1428,"title":"Export reusable custom blocks to configuration","user":{"login":"mikemccaffrey","id":1134098,"avatar_url":"https://avatars.githubusercontent.com/u/1134098?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemccaffrey","html_url":"https://github.com/mikemccaffrey","followers_url":"https://api.github.com/users/mikemccaffrey/followers","following_url":"https://api.github.com/users/mikemccaffrey/following{/other_user}","gists_url":"https://api.github.com/users/mikemccaffrey/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemccaffrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemccaffrey/subscriptions","organizations_url":"https://api.github.com/users/mikemccaffrey/orgs","repos_url":"https://api.github.com/users/mikemccaffrey/repos","events_url":"https://api.github.com/users/mikemccaffrey/events{/privacy}","received_events_url":"https://api.github.com/users/mikemccaffrey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/docs%20-%20needs%20change%20record","name":"docs - needs change record","color":"fad8c7"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/pr%20-%20reviewed%20&%20tested%20by%20the%20community","name":"pr - reviewed & tested by the community","color":"F1FFE8"},{"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/type%20-%20feature%20request","name":"type - feature request","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/12","html_url":"https://github.com/backdrop/backdrop-issues/milestones/1.3.0","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/12/labels","id":1101067,"number":12,"title":"1.3.0","description":"New features for the 1.3.x branch","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":21,"closed_issues":21,"state":"open","created_at":"2015-05-07T22:03:06Z","updated_at":"2016-01-07T05:11:20Z","due_on":"2016-01-15T07:00:00Z","closed_at":null},"comments":20,"created_at":"2015-12-17T23:42:23Z","updated_at":"2016-01-07T05:11:20Z","closed_at":"2016-01-07T05:11:20Z","body":"In issue #1099 @docwilmot has started creating a custom text block that can be added to layouts and are stored in the layout configuration. However, I think we should still retain the current ability to make simple reusable custom text blocks, but save them to configuration so they can be created along with layouts in a development environment and then be deployed together to production.\r\n\r\nI think that these reusable custom blocks are the true successors to the current custom block functionality. Since any existing blocks people have created have not been fieldable, they would likely not be intended for the applications proposed in #100. So instead of moving the current custom block list from structure to content, as proposed in #1276, I think we should instead convert the existing block module to store its reusable blocks in configuration.\r\n\r\nOnce the single-layout custom blocks are created in #1099, we can look at allowing users to convert between the two types. Perhaps we can have a checkbox when creating or editing a single-layout block in the Layout UI asking if the block should be reusable, and if that is checked, the block is saved to its own config file and it becomes available to add when editing other layouts. "}}