view->style_plugin->options['row_class'])) { $this->view->style_plugin->options['row_class'] .= " $class"; } else { $this->view->style_plugin->options['row_class'] = $class; } } /** * {@inheritdoc} */ public function options_form(&$form, &$form_state) { parent::options_form($form, $form_state); $form['fields']['#description'] = t('Fields to be included as contextual links.'); $form['destination']['#description'] = t('Include a "destination" parameter in the link to return the user to the original view upon completing the contextual action.'); } /** * Render the contextual fields. */ public function render($values) { $links = $this->get_links(); if (!empty($links)) { $build = array( '#prefix' => '