public EntityTypeInterface::getKey($key)
Gets a specific entity key.
string $key: The name of the entity key to return.
string|bool The entity key, or FALSE if it does not exist.
self::getKeys()
public function getKey($key);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityTypeInterface.php/function/EntityTypeInterface::getKey/8.1.x