You are here

protected function ManyToOneHelper::placeholder in Views (for Drupal 7) 8.3

Provides a unique placeholders for handlers.

1 call to ManyToOneHelper::placeholder()
ManyToOneHelper::add_filter in lib/Drupal/views/ManyToOneHelper.php

File

lib/Drupal/views/ManyToOneHelper.php, line 256
Definition of Drupal\views\ManyToOneHelper.

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']);
}