The live template for hook_block_save returns a $form variable. This seems like an accidental copy-paste from hook_block_configure.
The output is:
/**
* Implements hook_block_save().
*/
function mymodule_block_save($delta = '', $edit = array()) {
$form = array();
switch ($delta) {
case '':
break;
}
return $form;
}
but should be:
/**
* Implements hook_block_save().
*/
function mymodule_block_save($delta = '', $edit = array()) {
switch ($delta) {
case '':
break;
}
}
Comments
Comment #1
sweetchuckThank you for reporting.
http://drupalcode.org/project/phpstorm-templates.git/commit/010dfef
Comment #2
marcvangendAnd thank you for the quick response!