public function Tables::isFieldCaseSensitive in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Query/Sql/Tables.php \Drupal\Core\Entity\Query\Sql\Tables::isFieldCaseSensitive()
Determines whether the given field is case sensitive.
This information can only be provided after it was added with addField().
Parameters
string $field_name: The name of the field.
Return value
bool|null TRUE if the field is case sensitive, FALSE if not. Returns NULL when the field did not define if it is case sensitive or not.
Overrides TablesInterface::isFieldCaseSensitive
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Tables.php, line 228 - Contains \Drupal\Core\Entity\Query\Sql\Tables.
Class
- Tables
- Adds tables and fields to the SQL entity query.
Namespace
Drupal\Core\Entity\Query\SqlCode
public function isFieldCaseSensitive($field_name) {
if (isset($this->caseSensitiveFields[$field_name])) {
return $this->caseSensitiveFields[$field_name];
}
}