Make filecache usable without needing module enabled.

Created on 18 June 2023, over 1 year ago
Updated 25 March 2024, 8 months ago

Problem/Motivation

✨ Make igbinary usable without needing module enabled. RTBC
can the same changes be made with filecache

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

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

Comments & Activities

  • Issue created by @SocialNicheGuru
  • πŸ‡·πŸ‡ΈSerbia holo96

    Seems like this worked for me (settings.php):

        if (!InstallerKernel::installationAttempted()) {
          $settings['filecache']['directory']['default'] = '../filecache';
          $class_loader->addPsr4('Drupal\\filecache\\', 'modules/contrib/filecache/src');
          $settings['container_yamls'][] = 'modules/contrib/filecache/filecache.services.yml';
          $settings['cache']['default'] = 'cache.backend.file_system';
        }
    

    I will test little bit more to see if I run into any other issues.
    I think this is essential for first time deploy...

Production build 0.71.5 2024