Prevent install if Structured Fields library not available

Created on 12 October 2022, over 2 years ago
Updated 3 February 2023, about 2 years ago

Problem/Motivation

The module must be downloaded via Composer so that the Structured Fields PHP library is available. If manually downloaded, installing the module will result in a fatal error.

Steps to reproduce

Download module via archive and enable.

Proposed resolution

Implement hook_install() to check for the Structured Fields library before allowing module install.

Feature request
Status

Fixed

Version

1.1

Component

Code

Created by

🇨🇦Canada gapple

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024