Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294883

Adjust hook_options_list_alter() example in options.api.php to use $field->id() instead of $field->id

$
0
0

Problem/Motivation

Per #1898434-75: Remove theme_options_none, use an alter hook instead for changing empty option label, $field->id might turn into a protected property, so the API example should use $field->id() instead.

Proposed resolution

Patch hook_options_list_alter() in options.api.php to use $field->id() instead of $field->id.

Remaining tasks

Create patch.

User interface changes

n/a

API changes

n/a

#1898434: Remove theme_options_none, use an alter hook instead for changing empty option label


Viewing all articles
Browse latest Browse all 294883

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>