You are here

public function SolrFieldType::addTextFile in Apache Solr Multilingual 8

1 call to SolrFieldType::addTextFile()
SolrFieldType::setTextFiles in src/Entity/SolrFieldType.php

File

src/Entity/SolrFieldType.php, line 88
Contains Drupal\apachesolr_multilingual\Entity\SolrFieldType.

Class

SolrFieldType
Defines the SolrFieldType entity.

Namespace

Drupal\apachesolr_multilingual\Entity

Code

public function addTextFile($name, $content) {
  $this->text_files[$name] = preg_replace('/\\R/u', "\n", $content);
}