You are here

protected function ManyToOneHelper::placeholder in Drupal 9

Same name and namespace in other branches
  1. 8 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 253

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