public function MediaBrowserView::view

cis7 MediaBrowserView.inc public MediaBrowserView::view()
cle7 MediaBrowserView.inc public MediaBrowserView::view()
elmsmedia7 MediaBrowserView.inc public MediaBrowserView::view()
icor7 MediaBrowserView.inc public MediaBrowserView::view()
meedjum_blog7 MediaBrowserView.inc public MediaBrowserView::view()
mooc7 MediaBrowserView.inc public MediaBrowserView::view()

Implements MediaBrowserPlugin::view().

Overrides MediaBrowserPlugin::view

File

sites/all/modules/ulmus/media/includes/MediaBrowserView.inc, line 44
Definition of MediaBrowserView.

Class

MediaBrowserView
Media browser plugin for displaying a specific view and display.

Code

public function view() {
  if (!empty($this->view)) {
    $build['#markup'] = $this->view->preview();

    // Allow the View title to override the plugin title.
    if ($title = $this->view->get_title()) {
      $build['#title'] = $title;
    }

    return $build;
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.