function Select::getMetaData
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/Query/Select.php \Drupal\Core\Database\Query\Select::getMetaData()
- 8.9.x core/lib/Drupal/Core/Database/Query/Select.php \Drupal\Core\Database\Query\Select::getMetaData()
- 11.x core/lib/Drupal/Core/Database/Query/Select.php \Drupal\Core\Database\Query\Select::getMetaData()
Retrieves a given piece of metadata.
Parameters
$key: The unique identifier for the piece of metadata to retrieve.
Return value
mixed The previously attached metadata object, or NULL if one doesn't exist.
Overrides AlterableInterface::getMetaData
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ Select.php, line 195
Class
- Select
- Query builder for SELECT statements.
Namespace
Drupal\Core\Database\QueryCode
public function getMetaData($key) {
return $this->alterMetaData[$key] ?? NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.