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

Breadcrumb

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

interface PlaceholderInterface

Interface for a query that accepts placeholders.

Hierarchy

  • interface \Drupal\Core\Database\Query\PlaceholderInterface

Expanded class hierarchy of PlaceholderInterface

All classes that implement PlaceholderInterface

1 file declares its use of PlaceholderInterface
Schema.php in core/lib/Drupal/Core/Database/Schema.php

File

core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 8

Namespace

Drupal\Core\Database\Query
View source
interface PlaceholderInterface {
    
    /**
     * Returns a unique identifier for this object.
     */
    public function uniqueIdentifier();
    
    /**
     * Returns the next placeholder ID for the query.
     *
     * @return int
     *   The next available placeholder ID as an integer.
     */
    public function nextPlaceholder();

}

Members

Title Sort descending Modifiers Object type Summary Overrides
PlaceholderInterface::nextPlaceholder public function Returns the next placeholder ID for the query. 3
PlaceholderInterface::uniqueIdentifier public function Returns a unique identifier for this object. 3

API Navigation

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