Skip to content
Snippets Groups Projects

Issue #3100732: Allow specifying `meta` data on JSON:API objects

Closed Björn Brala requested to merge issue/drupal-3100732:3100732-allow-specifying-meta into 10.1.x
2 files
+ 73
1
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 02cc55dd
    Issue #3056652 by yogeshmpawar, mashermike, aalin, ranjith_kumar_k_u: Link... · 02cc55dd
    catch authored
    Issue #3056652 by yogeshmpawar, mashermike, aalin, ranjith_kumar_k_u: Link options attributes removed on save
    
    (cherry picked from commit 8eea239a)
@@ -286,7 +286,7 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen
// Exposing the attributes array in the widget is left for alternate and more
// advanced field widgets.
$element['attributes'] = [
$element['options']['attributes'] = [
'#type' => 'value',
'#tree' => TRUE,
'#value' => !empty($items[$delta]->options['attributes']) ? $items[$delta]->options['attributes'] : [],
Loading