You are here

public function SolrFieldDefinition::isTokenized in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isTokenized()
  2. 8.2 src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isTokenized()

Determines whether this field is tokenized.

Return value

bool TRUE if the field is tokenized, FALSE otherwise.

Overrides SolrFieldDefinitionInterface::isTokenized

2 calls to SolrFieldDefinition::isTokenized()
SolrFieldDefinition::isFilterable in src/TypedData/SolrFieldDefinition.php
Determine whether a field is suitable for filtering.
SolrFieldDefinition::isFulltextSearchable in src/TypedData/SolrFieldDefinition.php
Determine whether a field is suitable for fulltext search.

File

src/TypedData/SolrFieldDefinition.php, line 98

Class

SolrFieldDefinition
Defines a class for Solr field definitions.

Namespace

Drupal\search_api_solr\TypedData

Code

public function isTokenized() {
  $this
    ->getSchema();
  return isset($this->schema['T']);
}