function Schema::nextPlaceholder

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::nextPlaceholder()
  2. 10 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::nextPlaceholder()
  3. 11.x core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::nextPlaceholder()

Overrides PlaceholderInterface::nextPlaceholder

File

core/lib/Drupal/Core/Database/Schema.php, line 68

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

public function nextPlaceholder() {
    return $this->placeholder++;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.