Open jhedstrom opened 6 years ago
This code in LinkHandler expects numeric indices
LinkHandler
$return[] = array( 'options' => $options, 'title' => $value[0], 'uri' => $value[1], );
while the Drupal Extension actually allows passing in the proper entity properties:
| field_foo:uri | http://example | | field_foo:title | My link |
Yeah, the handlers have got some nasty idiosyncratic variations in how they expect properties to come to them. I had to do some awkward dancing to maintain BC on some of the field plugins.
This code in
LinkHandler
expects numeric indiceswhile the Drupal Extension actually allows passing in the proper entity properties: