Little typo in leaflet.api.php

Created on 11 November 2024, 3 months ago

Problem/Motivation

leaflet.api.php shows

function hook_leaflet_formatter_feature_alter(array $feature, FieldItemInterface $item, ContentEntityInterface $entity) {

but it should be

function hook_leaflet_formatter_feature_alter(array &$feature, FieldItemInterface $item, ContentEntityInterface $entity) {

The & in front of $feature is missing.

📌 Task
Status

Active

Version

10.2

Component

Code

Created by

🇩🇪Germany uniquename Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024