This may be a minor issue but ran through the diff from alpha2 to alpha3 and ran accross this:
--- a/html/sites/all/modules/contrib/file_entity/file_entity.module
+++ b/html/sites/all/modules/contrib/file_entity/file_entity.module
@@ -38,8 +38,8 @@ require_once dirname(__FILE__) . '/file_entity.field.inc';
*/
function file_entity_hook_info() {
$hooks = array(
- 'file_operation_info',
- 'file_operation_info_alter',
+ 'file_operations',
+ 'file_operations',
'file_type_info',
'file_type_info_alter',
'file_formatter_info',
Comments
Comment #1
dave reidWait...what happened to hook_file_operation_info() and hook_file_operation_info_alter() and why was it changed??
Comment #2
dave reidStrange! It looks like the API docs were removed in https://drupal.org/node/1227706#comment-5934038 but we never noticed it went missing. hook_file_operations was re-added in #1651126: Add additional filters to the File List page which also removed the "deprecated" file_entity_get_file_operation_info(). I'm really shocked we missed this.
Comment #4
devin carlson commentedThe new updated hook names are now declared in
file_entity_hook_info().Marking this as fixed after checking a number of media integration modules which all used the updated hook name. Unless we want to add support for both
file_operation_info()andfile_operations().