{"push_id":1304141616,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b6271f74c03256d26aba2aa182543a3d4302a56e","before":"7236a05faf5e9dbcb1a7504b82b83531f3088b95","commits":[{"sha":"b6271f74c03256d26aba2aa182543a3d4302a56e","author":{"name":"kenney","email":"68c752f0655b9f24e4140b7f3600cef8285afdf4@neonics.com"},"message":"Refactor template module to class\n\n\tSUMMARY\n\n\tClassify the template module system: move the module\n\tconfiguration to a static field, and allow the module\n\tto return a classname instead of the configuration.\n\tThis moves away from using global functions such as\n\tmodule_menu() by encapsulating them in classes.\n\tLegacy behaviour preserved.\n\nlib/TemplateRequestHandler.php:\n\tWhen $template_data is a class name, instantiate it and\n\tinitialize template_data with it's config.\n\nlib/template/module.php:\n\tCall AbstractTemplateModule descendant's static module_menu method\n\tif $request->template_data has a 'template_module_instance',\n\tand fallback to legacy template_module function.\n\nlib/template/AbstractTemplateModule.php: (NEW)\n\tAdd a base class for Template Modules, implementing\n\tmodule_menu, which constructs the menu using the 'pages'\n\tpart of the module configuration in $config.","distinct":true,"url":"https://api.github.com/repos/neonics/webtools/commits/b6271f74c03256d26aba2aa182543a3d4302a56e"}]}
{"actor":{"display_login":"neonics"}}