function file_post_update_add_playsinline

Same name and namespace in other branches
  1. 11.x core/modules/file/file.post_update.php \file_post_update_add_playsinline()

Adds a value for the 'playsinline' setting of the 'file_video' formatter.

Deprecated

in drupal:12.3.0 and is removed from drupal:13.0.0. This was rolled back due to a bug in the implementation and is now a no-op function and is kept only to prevent errors when updating.

See also

https://www.drupal.org/project/drupal/issues/3533291

File

core/modules/file/file.post_update.php, line 30

Code

function file_post_update_add_playsinline(array &$sandbox = []) : ?TranslatableMarkup {
  // No-op.
  return NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.