Example #1
0
 /**
  * @param StyleguideInterface $styleguide
  * @return array
  */
 public function getConfig(StyleguideInterface $styleguide)
 {
     return ['cacheBuster' => $styleguide->getCacheBuster(), 'ishMaximum' => $styleguide->getMaximumWidth(), 'ishMinimum' => $styleguide->getMinimumWidth()];
 }
Example #2
0
 protected function getPatternLabHeaderContent(StyleguideInterface $styleguide)
 {
     $data = ['cacheBuster' => $styleguide->getCacheBuster()];
     return $styleguide->render('partials/general-header', $data);
 }