@trigger_error('Calling '.__METHOD__.'() without the $media argument is deprecated in drupal:10.3.0 and it will be required in drupal:11.0.0. See https://www.drupal.org/node/3432920',E_USER_DEPRECATED);
$token_data=[];
}
else{
$token_data=['date'=>$media->getCreatedTime()];
}
// If there is no remote thumbnail, there's nothing for us to fetch here.