You are here

public function AlterableInterface::getMetaData in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/AlterableInterface.php \Drupal\Core\Database\Query\AlterableInterface::getMetaData()
  2. 10 core/lib/Drupal/Core/Database/Query/AlterableInterface.php \Drupal\Core\Database\Query\AlterableInterface::getMetaData()

Retrieves a given piece of metadata.

Parameters

$key: The unique identifier for the piece of metadata to retrieve.

Return value

The previously attached metadata object, or NULL if one doesn't exist.

3 methods override AlterableInterface::getMetaData()
QueryBase::getMetaData in core/lib/Drupal/Core/Entity/Query/QueryBase.php
Retrieves a given piece of metadata.
Select::getMetaData in core/lib/Drupal/Core/Database/Query/Select.php
Retrieves a given piece of metadata.
SelectExtender::getMetaData in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Retrieves a given piece of metadata.

File

core/lib/Drupal/Core/Database/Query/AlterableInterface.php, line 93

Class

AlterableInterface
Interface for a query that can be manipulated via an alter hook.

Namespace

Drupal\Core\Database\Query

Code

public function getMetaData($key);