Skip to content
Snippets Groups Projects

Issue #3314975: Added options_buttons widget support.

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -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';
}
}
/**
/**
Loading