Created
July 12, 2016 09:19
-
-
Save arjenblokzijl/22ed241d497ec5b9091c2e7c00ea33be to your computer and use it in GitHub Desktop.
Basic Process Module Process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ProcessReleases extends Process implements Module { | |
public static function getModuleInfo() { | |
return array( | |
'title' => "Releases", | |
'version' => "0.0.1", | |
'summary' => "Show releases for the mydatafactory application.", | |
'autoload' => false, | |
'singular' => true, | |
'installs' => array('Releases'), | |
'icon' => 'bookmark', | |
'page' => array( | |
'name' => 'releases', | |
'parent' => 'admin', | |
'title' => 'Releases', | |
), | |
'permission' => 'releases', | |
'permissions' => array('releases' => 'Releases'), | |
); | |
} | |
public function ___execute() { | |
return "Releases"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment