You are here

function responsive_preview_toolbar in Responsive Theme Preview 8

Implements hook_toolbar().

File

./responsive_preview.module, line 29
Provides a component that previews the a page in various device dimensions.

Code

function responsive_preview_toolbar() {

  /** @var \Drupal\responsive_preview\ResponsivePreview $responsivePreviewService */
  $responsivePreviewService = \Drupal::service('responsive_preview');
  return $responsivePreviewService
    ->previewToolbar();
}