You are here

public function AlterableInterface::getMetaData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 94
Contains \Drupal\Core\Database\Query\AlterableInterface.

Class

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

Namespace

Drupal\Core\Database\Query

Code

public function getMetaData($key);