Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HandlerBase.php

function HandlerBase::placeholder

Provides a unique placeholders for handlers.

Return value

string A placeholder which contains the table and the fieldname.

20 calls to HandlerBase::placeholder()
Combine::opContains in core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opContainsWord in core/modules/views/src/Plugin/views/filter/Combine.php
Filters by one or more words.
Combine::opEndsWith in core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opEqual in core/modules/views/src/Plugin/views/filter/Combine.php
Adds a where clause for the operation, 'equals'.
Combine::opNotEndsWith in core/modules/views/src/Plugin/views/filter/Combine.php

... See full list

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 589

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal