function QueryBase::getMetaData
Retrieves a given piece of metadata.
Parameters
string $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/ Entity/ Query/ QueryBase.php, line 392  
Class
- QueryBase
 - The base entity query class.
 
Namespace
Drupal\Core\Entity\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.