public function SolrFieldTypeInterface::addTextFile in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::addTextFile()
- 8.2 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::addTextFile()
Adds a single text file to the Solr Field Type.
Parameters
string $name: The name of the text file.
string $content: The content of the text file.
File
- src/
SolrFieldTypeInterface.php, line 324
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function addTextFile($name, $content);