I probably am doing this wrong but i notice that when modules have set their hook examples as
HOOK_function_name ... mb doesn't successfully process.
Here's an example.
Our friendly neighborhood apachesolr.module has a file apachesolr.api.php with a function:
function HOOK_apachesolr_query_prepare($query) {
// Add a sort on the node ID.
$query->setAvailableSort('entity_id', array(
'title' => t('Node ID'),
'default' => 'asc',
));
}
I do a
drush mb sinai_solr apachesolr_query_prepare --write --name="Sinai Solr Custom Overrides" --dep="apachesolr facetapi"
and I get an empty sinai_solr.module
Comments
Comment #1
joachim commentedThat's a bug in the respective module, not here.
We could probably stick a case-insensitive modifier in the regexp here, but really .api.php files should follow core's formatting rules.
Comment #2
joachim commentedBetter status.
Comment #3
chriscalip commentedComment #4
chriscalip commentedComment #5
nick_vhHere's the patch.
Comment #6
nick_vhCommitted