You are here

public function SolrFieldTypeInterface::addTextFile in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 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.

1 method overrides SolrFieldTypeInterface::addTextFile()
SolrFieldType::addTextFile in src/Entity/SolrFieldType.php
Adds a single text file to the Solr Field Type.

File

src/SolrFieldTypeInterface.php, line 147

Class

SolrFieldTypeInterface
Provides an interface defining a SolrFieldType entity.

Namespace

Drupal\search_api_solr

Code

public function addTextFile($name, $content);