diff --git a/node_gallery_api.module b/node_gallery_api.module index 63fb11f..7adc334 100644 --- a/node_gallery_api.module +++ b/node_gallery_api.module @@ -618,7 +618,7 @@ function node_gallery_api_entity_update($entity, $type) { foreach ($entity->settings['relationship_type']['item_types'] as $item_type) { // Create the gallery reference field. - $ng_field = node_gallery_api_field_info($fieldname); + $ng_field = node_gallery_api_field_information($fieldname); node_gallery_api_create_field($fieldname, 'node', $item_type); // Create a media field if selected. @@ -747,9 +747,9 @@ function node_gallery_api_node_view($node, $view_mode = 'full') { } /** - * Implements hook_field_info(). + * Field information. */ -function node_gallery_api_field_info($field_name = NULL) { +function node_gallery_api_field_information($field_name = NULL) { // We can't use node_gallery_api_get_relationship_type() here because it // creates PHP notices from this core issue: http://drupal.org/node/1001060. $relationship_types = db_select('node_gallery_relationship_type', 'ngrt') @@ -1224,7 +1224,7 @@ function node_gallery_api_ctools_plugin_directory($module, $plugin) { */ function node_gallery_api_create_field($field_name, $entity_type, $bundle, $ng_field = array()) { if (empty($ng_field)) { - $ng_field = node_gallery_api_field_info($field_name); + $ng_field = node_gallery_api_field_information($field_name); } $field = field_info_field($field_name);