/** * Get HTML representing secondary page actions like language selector * @return string */ protected function getSecondaryActionsHtml() { $baseClass = MinervaUI::buttonClass('', 'button'); $html = Html::openElement('div', array('class' => 'post-content', 'id' => 'page-secondary-actions')); foreach ($this->getSecondaryActions() as $el) { if (isset($el['attributes']['class'])) { $el['attributes']['class'] .= ' ' . $baseClass; } else { $el['attributes']['class'] = $baseClass; } $html .= Html::element('a', $el['attributes'], $el['label']); } return $html . Html::closeElement('div'); }