MediaBrowserInternet.inc

  1. cis7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
  2. cle7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
  3. ecd7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
  4. elmsmedia7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
  5. harmony7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
  6. icor7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
  7. meedjum_blog7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
  8. mooc7 sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc

Definition of MediaBrowserInternet.

Classes

Namesort descending Description
MediaBrowserInternet Media browser plugin for Media Internet sources.

File

sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Definition of MediaBrowserInternet.
  5. */
  6. /**
  7. * Media browser plugin for Media Internet sources.
  8. */
  9. class MediaBrowserInternet extends MediaBrowserPlugin {
  10. /**
  11. * Implements MediaBrowserPluginInterface::access().
  12. */
  13. public function access($account = NULL) {
  14. return media_internet_access($account);
  15. }
  16. /**
  17. * Implements MediaBrowserPlugin::view().
  18. */
  19. public function view() {
  20. module_load_include('inc', 'media_internet', 'media_internet.pages');
  21. $build['form'] = drupal_get_form('media_internet_add', $this->params['types'], $this->params['multiselect']);
  22. return $build;
  23. }
  24. }