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.
File
- drupal/core/lib/Drupal/Core/Database/Query/AlterableInterface.php, line 94
- Definition of 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);