public function SolrFieldDefinition::isLazy in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isLazy()
- 4.x src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isLazy()
Determines whether this field is lazy-loaded.
Return value
bool TRUE if the field is lazy-loaded, FALSE otherwise.
Overrides SolrFieldDefinitionInterface::isLazy
File
- src/
TypedData/ SolrFieldDefinition.php, line 154
Class
- SolrFieldDefinition
- Defines a class for Solr field definitions.
Namespace
Drupal\search_api_solr\TypedDataCode
public function isLazy() {
$this
->getSchema();
return isset($this->schema['L']);
}