protected function renderLinkElement(ItemInterface $item, array $options) { $class = (array) $item->getLinkAttribute('class'); $class[] = 'section'; $attributes = $item->getLinkAttributes(); $attributes['class'] = implode(' ', $class); return sprintf('<a href="%s"%s>%s</a>', $this->escape($item->getUri()), $this->renderHtmlAttributes($attributes), $this->renderLabel($item, $options)); }