You are here

public function ExtendableInterface::extend in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Query/ExtendableInterface.php \Drupal\Core\Database\Query\ExtendableInterface::extend()

Enhance this object by wrapping it in an extender object.

Parameters

$extender_name: The base name of the extending class. The base name will be checked against the current database connection to allow driver-specific subclasses as well, using the same logic as the query objects themselves.

Return value

\Drupal\Core\Database\Query\ExtendableInterface The extender object, which now contains a reference to this object.

2 methods override ExtendableInterface::extend()
Select::extend in core/lib/Drupal/Core/Database/Query/Select.php
Enhance this object by wrapping it in an extender object.
SelectExtender::extend in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Enhance this object by wrapping it in an extender object.

File

core/lib/Drupal/Core/Database/Query/ExtendableInterface.php, line 32
Contains \Drupal\Core\Database\Query\ExtendableInterface.

Class

ExtendableInterface
Interface for extendable query objects.

Namespace

Drupal\Core\Database\Query

Code

public function extend($extender_name);