Skip to content

Instantly share code, notes, and snippets.

@mmarum-sugarcrm
Created March 25, 2015 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmarum-sugarcrm/74d9785cbb9017843c90 to your computer and use it in GitHub Desktop.
Save mmarum-sugarcrm/74d9785cbb9017843c90 to your computer and use it in GitHub Desktop.
Foo view that includes a buttons definition
$viewdefs['base']['view']['foo'] = array(
'buttons' => array( //directly include definition
array(
'type' => 'button',
'name' => 'cancel',
),
array(
'type' => 'button',
'name' => 'save',
),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment