Commit 318e1d1e authored by tim.plunkett's avatar tim.plunkett

Issue #1716908 by aspilicious, tim.plunkett: Use the new attributes system in D8.

parent ef66e002
......@@ -55,7 +55,7 @@ function options_form(&$form, &$form_state) {
function pre_render(&$values) {
// Add a row plugin css class for the contextual link.
$class = 'contextual-links-region';
$class = 'contextual-region';
if (!empty($this->view->style_plugin->options['row_class'])) {
$this->view->style_plugin->options['row_class'] .= " $class";
}
......@@ -95,7 +95,7 @@ function render($values) {
if (!empty($links)) {
$build = array(
'#prefix' => '<div class="contextual-links-wrapper">',
'#prefix' => '<div class="contextual">',
'#suffix' => '</div>',
'#theme' => 'links__contextual',
'#links' => $links,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment