Skip to content
Snippets Groups Projects
Commit f1cd0a51 authored by catch's avatar catch
Browse files

Issue #1621356 by joachim, dsdeiz, tim.plunkett: Pass all the parameters of...

Issue #1621356 by joachim, dsdeiz, tim.plunkett: Pass all the parameters of hook_options_list() to options_list_callback().
parent 96614a6b
Branches
Tags
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
......@@ -8,7 +8,7 @@
/**
* Allowed values callback.
*/
function options_test_allowed_values_callback($field) {
function options_test_allowed_values_callback($field, $instance, $entity_type, $entity) {
$values = array(
'Group 1' => array(
0 => 'Zero',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment