diff --git a/jsonapi.module b/jsonapi.module index 4c5c84c..48e27c6 100644 --- a/jsonapi.module +++ b/jsonapi.module @@ -41,7 +41,7 @@ function jsonapi_help($route_name, RouteMatchInterface $route_match) { */ function jsonapi_entity_base_field_info(EntityTypeInterface $entity_type) { $jsonapi_settings = \Drupal::config('jsonapi.settings'); - if ($jsonapi_settings['bc_file_download_url'] !== TRUE) { + if ($jsonapi_settings->get('bc_file_download_url') !== TRUE) { return; }