You are here

protected function ManyToOneHelper::placeholder in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/ManyToOneHelper.php \Drupal\views\ManyToOneHelper::placeholder()

Provides a unique placeholders for handlers.

1 call to ManyToOneHelper::placeholder()
ManyToOneHelper::addFilter in core/modules/views/src/ManyToOneHelper.php

File

core/modules/views/src/ManyToOneHelper.php, line 252

Class

ManyToOneHelper
This many to one helper object is used on both arguments and filters.

Namespace

Drupal\views

Code

protected function placeholder() {
  return $this->handler->query
    ->placeholder($this->handler->options['table'] . '_' . $this->handler->options['field']);
}