function BaseFieldDefinition::isQueryable
Overrides FieldStorageDefinitionInterface::isQueryable
File
-
core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php, line 294
Class
- BaseFieldDefinition
- A class for defining entity fields.
Namespace
Drupal\Core\FieldCode
public function isQueryable() {
@trigger_error('BaseFieldDefinition::isQueryable() is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, you should use \\Drupal\\Core\\Field\\BaseFieldDefinition::hasCustomStorage(). See https://www.drupal.org/node/2856563.', E_USER_DEPRECATED);
return !$this->hasCustomStorage();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.