You are here

public function SolrFieldTypeInterface::addTextFile in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::addTextFile()
  2. 4.x 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_solr

Code

public function addTextFile($name, $content);