public function SolrFieldTypeInterface::setFieldType in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::setFieldType()
Sets the Solr Field Type definition as nested associative array.
Parameters
array $field_type: The Solr Field Type definition as nested associative array.
Return value
self Field type.
1 method overrides SolrFieldTypeInterface::setFieldType()
- SolrFieldType::setFieldType in src/
Entity/ SolrFieldType.php - Sets the Solr Field Type definition as nested associative array.
File
- src/
SolrFieldTypeInterface.php, line 59
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function setFieldType(array $field_type);