Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (52 sloc) 1.81 KB
<?php
/**
* ProcessHello.info.php
*
* Return information about this module.
*
* If preferred, you can use a getModuleInfo() method in your module file,
* or you can use a ModuleName.info.json file (if you prefer JSON definition).
*
*/
$info = array(
// Your module's title
'title' => 'Hello: Process Module Example',
// A 1 sentence description of what your module does
'summary' => 'A starting point module skeleton from which to build your own Process module.',
// Module version number: use 1 for 0.0.1 or 100 for 1.0.0, and so on
'version' => 1,
// Name of person who created this module (change to your name)
'author' => 'Ryan Cramer',
// Icon to accompany this module (optional), uses font-awesome icon names, minus the "fa-" part
'icon' => 'thumbs-up',
// URL to more info: change to your full modules.processwire.com URL (if available), or something else if you prefer
'href' => 'http://modules.processwire.com/',
// name of permission required of users to execute this Process (optional)
'permission' => 'helloworld',
// permissions that you want automatically installed/uninstalled with this module (name => description)
'permissions' => array(
'helloworld' => 'Run the HelloWorld module'
),
// page that you want created to execute this module
'page' => array(
'name' => 'helloworld',
'parent' => 'setup',
'title' => 'Hello World'
),
// optional extra navigation that appears in admin
// if you change this, you'll need to a Modules > Refresh to see changes
'nav' => array(
array(
'url' => '',
'label' => 'Hello',
'icon' => 'smile-o',
),
array(
'url' => 'something/',
'label' => 'Something',
'icon' => 'beer',
),
)
// for more options that you may specify here, see the file: /wire/core/Process.php
// and the file: /wire/core/Module.php
);