Select::getMetaData

public Select::getMetaData($key)

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.

Overrides AlterableInterface::getMetaData

File

core/lib/Drupal/Core/Database/Query/Select.php, line 181

Class

Select
Query builder for SELECT statements.

Namespace

Drupal\Core\Database\Query

Code

public function getMetaData($key) {
  return isset($this->alterMetaData[$key]) ? $this->alterMetaData[$key] : NULL;
}
doc_Drupal
2016-10-29 09:41:17
Comments
Leave a Comment

Please login to continue.