Provide hook_brightcove_cache_set_alter()

Created on 2 October 2019, over 5 years ago
Updated 23 January 2025, 3 months ago

The cache TTL used by brightcove_cache_set() is established like so:

    $cache_settings = variable_get('brightcove_cache_db', []);
    $cache_time = isset($cache_settings['cache_time']) ? $cache_settings['cache_time'] : 600;

In practice it can be useful if different types of value (recognisable by their cache ID patterns) can be cached for different durations. An alter hook facilitates this nicely.

Feature request
Status

Closed: outdated

Version

6.0

Component

Code

Created by

🇳🇿New Zealand jweowu

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