You are here

public function FieldStorageConfig::isQueryable in Drupal 8

Determines whether the field is queryable via QueryInterface.

Return value

bool TRUE if the field is queryable.

Overrides FieldStorageDefinitionInterface::isQueryable

Deprecated

in drupal:8.4.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldStorageDefinitionInterface::hasCustomStorage() instead.

See also

https://www.drupal.org/node/2856563

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 701

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function isQueryable() {
  return TRUE;
}