Declare dependency on core options module

Created on 27 April 2023, over 1 year ago
Updated 4 May 2023, over 1 year ago

When installing this module, the http_client_log entity type will be installed, which includes the 'request_http_method' field, which uses the list_string field type. That field type is only available if core's options module is installed.

Declaring the dependency is even needed for sites that will install that module, but need options installed before http_client_log, as they can get installed the wrong way around otherwise. For example, when I install with drush, I get this error message:

In DiscoveryTrait.php line 53:

  The "list_string" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FieldTypePluginManager are: integer, uri, entity_reference, uuid, float, email, timestamp, string, language, created, changed, map, string_long, password, decimal, boolean
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom james.williams

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024