예제 #1
0
 public function getContent(StyleguideInterface $styleguide)
 {
     $variables = ['partials' => $this->getPatterns(), 'patternPartial' => ''];
     return $styleguide->render('viewall', $variables);
 }
예제 #2
0
 /**
  * @param StyleguideInterface $styleguide
  * @return array
  */
 public function getConfig(StyleguideInterface $styleguide)
 {
     return ['cacheBuster' => $styleguide->getCacheBuster(), 'ishMaximum' => $styleguide->getMaximumWidth(), 'ishMinimum' => $styleguide->getMinimumWidth()];
 }
예제 #3
0
 protected function makeHeader(StyleguideInterface $styleguide)
 {
     return $styleguide->render('patternLabHead', $this->getHeaderVariables($styleguide));
 }