civix
civix copied to clipboard
Feature Request: generate:settings_page
Hi all,
@eileenmcnaughton recently made a "settings page" feature for extensions. I think it'd be dandy if this was supported by everyone's favourite extension generating tool :)
just to keep this together - the action would need to generate an xml like
xml/Menu/settings.xml
Where the content is
<item>
<path>civicrm/settings/{$myextension}</path>
<page_callback>CRM_Admin_Form_Generic</page_callback>
<title>Omnipay Developer Settings</title>
<access_arguments>administer payment processors</access_arguments>
</item>
Settings in the extension would all need
'settings_pages' => ['{$myextension}' => ['weight' => 20]],
is_public true?
@JohnFF removed..... copy & paste huh?