You are here

public function MoveToCart::getValue in Commerce Wishlist 8.3

Overrides UncacheableFieldHandlerTrait::getValue

See also

\Drupal\views\Plugin\views\Field\FieldHandlerInterface::getValue()

File

src/Plugin/views/field/MoveToCart.php, line 122

Class

MoveToCart
Defines a form element for moving or copying the wishlist item to the cart.

Namespace

Drupal\commerce_wishlist\Plugin\views\field

Code

public function getValue(ResultRow $row, $field = NULL) {
  return '<!--form-item-' . $this->options['id'] . '--' . $row->index . '-->';
}