Created
February 5, 2019 21:46
-
-
Save pmzivtech/f601a75b3589b44be88570cef0489895 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_media_source_info_alter(). | |
*/ | |
function MY_MODULE_media_media_source_info_alter(&$sources) { | |
$sources['oembed:video']['providers'][] = 'Facebook (Video)'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment