You are here

protected function ManyToOneHelper::placeholder in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 257
Contains \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']);
}