Skip to content
Snippets Groups Projects
Commit c52c9b49 authored by Jaime Herencia's avatar Jaime Herencia
Browse files

changed menu items field name

parent b32c7104
Branches
Tags 1.0.0-beta1
No related merge requests found
......@@ -14,7 +14,7 @@ class MenuResourceObject extends ResourceObject {
$cacheability->addCacheableDependency(NULL);
$fields = static::extractFieldsFromEntity($resource_type, $entity);
$fields['menu_items'] = $menuItems;
$fields['items'] = $menuItems;
parent::__construct(
$cacheability,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment