public function Enum::getKey in Drupal driver for SQL Server and SQL Azure 8.2
Returns the enum key (i.e. the constant name).
Return value
mixed
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Component/ Enum.php, line 58
Class
- Enum
- Enum class.
Namespace
Drupal\Driver\Database\sqlsrv\ComponentCode
public function getKey() {
return self::search($this->value);
}