public function Schema::nextPlaceholder in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::nextPlaceholder()
- 9 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::nextPlaceholder()
Returns the next placeholder ID for the query.
Return value
The next available placeholder ID as an integer.
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\DatabaseCode
public function nextPlaceholder() {
return $this->placeholder++;
}