Skip to content
Snippets Groups Projects
Commit 2fc4397d authored by arousseau's avatar arousseau
Browse files

Issue #3314975: Added options_buttons widget support.

parent 46397848
Branches
Tags
1 merge request!27Issue #3314975: Added options_buttons widget support.
Pipeline #309162 passed
...@@ -28,6 +28,7 @@ function jsonapi_reference_help($route_name, RouteMatchInterface $route_match) { ...@@ -28,6 +28,7 @@ function jsonapi_reference_help($route_name, RouteMatchInterface $route_match) {
*/ */
function jsonapi_reference_field_widget_info_alter(array &$info) { function jsonapi_reference_field_widget_info_alter(array &$info) {
$info['string_textfield']['field_types'][] = 'typed_resource_object'; $info['string_textfield']['field_types'][] = 'typed_resource_object';
$info['options_buttons']['field_types'][] = 'typed_resource_object';
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment