## 14. Extension Framework ## ### Introduction ### The extension framework provides a means to modify various application data inside SuiteCRM. For example it provides a way to add or modify vardefs, scheduled tasks, language strings and more. In general a folder is provided in
custom/Extension/application/Ext/Extensions. This can be given a name of your choosing. Our example will use
custom/Extension/application/Ext/Extensions/SportsList.phpand will look like:
Example 14.1: Adding an entry point entry ----------Now when a Quick Repair and rebuild is run any files in
1 <?php 2 $extensions["sports_list"] = array( 3 "section" => "sports_list", 4 "extdir" => "SportsList", 5 "file" => 'sportslist.ext.php', 6 "module" => "");
custom/Extension/application/Ext/SportsList/will be consolidated into
custom/application/Ext/SportsList/sportslist.ext.php. On it’s own this file will not do anything but you are now able to write custom code that checks the consolidated file rather than having to worry about searching for customisations.