You are here

public function SolrFieldType::getFieldTypeName in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/Entity/SolrFieldType.php \Drupal\search_api_solr\Entity\SolrFieldType::getFieldTypeName()
  2. 4.x src/Entity/SolrFieldType.php \Drupal\search_api_solr\Entity\SolrFieldType::getFieldTypeName()

Gets the Solr Field Type name.

Return value

string The Solr Field Type name.

Overrides SolrFieldTypeInterface::getFieldTypeName

File

src/Entity/SolrFieldType.php, line 553

Class

SolrFieldType
Defines the SolrFieldType entity.

Namespace

Drupal\search_api_solr\Entity

Code

public function getFieldTypeName() {
  return isset($this->field_type['name']) ? $this->field_type['name'] : '';
}