X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FGrant%2FInfo.php;h=a569c7fcb7a50e42e2958387bb11347b94e5375b;hb=a6755c91c7881367a395dc497b035f1ff8ae8fca;hp=5f279844baabc7b7144566fa2442dd7ae0da7e8c;hpb=68acd6ae8e764d8e713829675cfadfdefff770e8;p=civicrm-core.git diff --git a/CRM/Grant/Info.php b/CRM/Grant/Info.php index 5f279844ba..a569c7fcb7 100644 --- a/CRM/Grant/Info.php +++ b/CRM/Grant/Info.php @@ -1,7 +1,7 @@ ts('Grants'), + return array( + 'title' => ts('Grants'), 'url' => 'grant', 'weight' => 50, ); } - // docs inherited from interface /** + * @inheritDoc * @return array */ public function registerAdvancedSearchPane() { - return array('title' => ts('Grants'), + return array( + 'title' => ts('Grants'), 'weight' => 50, ); } - // docs inherited from interface /** + * @inheritDoc * @return null */ public function getActivityTypes() { return NULL; } - // add shortcut to Create New /** + * add shortcut to Create New * @param $shortCuts */ public function creatNewShortcut(&$shortCuts) { @@ -126,12 +130,13 @@ class CRM_Grant_Info extends CRM_Core_Component_Info { CRM_Core_Permission::check('edit grants') ) { $shortCuts = array_merge($shortCuts, array( - array('path' => 'civicrm/grant/add', - 'query' => "reset=1&action=add&context=standalone", - 'ref' => 'new-grant', - 'title' => ts('Grant'), - ))); + array( + 'path' => 'civicrm/grant/add', + 'query' => "reset=1&action=add&context=standalone", + 'ref' => 'new-grant', + 'title' => ts('Grant'), + ) + )); } } } -