Skip to content

Commit

Permalink
Issue #6208: Add hook_field_schema_alter() 'since' lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
quicksketch committed Jan 12, 2024
1 parent 13ae0d3 commit 8e90bee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/modules/field/field.api.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ function hook_field_schema($field) {
* The field definition.
*
* @see field_retrieve_schema()
*
* @since 1.26.4 Hook added.
*/
function hook_field_schema_alter(&$schema, $field) {
if ($field['type'] == 'image') {
Expand Down
2 changes: 2 additions & 0 deletions core/modules/field/field.crud.inc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
*
* @return array
* The field schema definition array.
*
* @since 1.26.4 Function added.
*/
function field_retrieve_schema($field) {
// Make sure the installation API is available.
Expand Down

0 comments on commit 8e90bee

Please sign in to comment.