I suppose this is more of a question, but I am trying to see exactly how the cron of this module works, and I'm a bit confused by the code in this module, specifically the lines...
function bynder_cron() {
$last_update = \Drupal::state()->get('bynder_cache_last_update', 0);
if ($last_update && (($last_update + \Drupal::config('default')->get('cache_lifetime')) < \Drupal::time()->getRequestTime())) {
I don't know what "\Drupal::config('default')->get('cache_lifetime')" is intending to do, but this is NULL for me, and I don't know what "default" is referring to...
This seems like it can't work to me...?
Has this code ever worked?
Active
4.2
Code