Commit 4db302ff authored by Dieter Holvoet's avatar Dieter Holvoet
Browse files

Issue #3319016 by DieterHolvoet: Cannot use object of type Drupal\media\Entity\Media as array

parent f411cdeb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ class Bert extends WidgetBase implements ContainerFactoryPluginInterface {
   * Returns the storage key of a specific field.
   */
  public static function getStorageKey(array $fieldParents, string $fieldName) {
    return array_merge($fieldParents, ['#bert'], [$fieldName, 'entities']);
    return array_merge(['bert'], $fieldParents, [$fieldName, 'entities']);
  }

  /**