Skip to content
Snippets Groups Projects
Commit b965f747 authored by Angie Byron's avatar Angie Byron
Browse files

#470242 follow-up by bjaspan: Fix typo.

parent 6061fa97
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -598,7 +598,7 @@ function field_info_field_by_id($field_id) {
* type, keyed by bundle name. If $obj_type and $bundle_name are set, return
* all instances for that bundle.
*/
function field_info_instances($obj_type, $bundle_name = NULL) {
function field_info_instances($obj_type = NULL, $bundle_name = NULL) {
$info = _field_info_collate_fields();
if (!isset($obj_type)) {
return $info['instances'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment