function AddFormBase::trustedCallbacks
Same name in other branches
- 9 core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::trustedCallbacks()
- 10 core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::trustedCallbacks()
- 11.x core/modules/media_library/src/Form/AddFormBase.php \Drupal\media_library\Form\AddFormBase::trustedCallbacks()
Overrides TrustedCallbackInterface::trustedCallbacks
File
-
core/
modules/ media_library/ src/ Form/ AddFormBase.php, line 348
Class
- AddFormBase
- Provides a base class for creating media items from within the media library.
Namespace
Drupal\media_library\FormCode
public static function trustedCallbacks() {
return [
'preRenderAddedMedia',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.