public function TextExtractorPluginInterface::extract in Search API attachments 8
Same name and namespace in other branches
- 9.0.x src/TextExtractorPluginInterface.php \Drupal\search_api_attachments\TextExtractorPluginInterface::extract()
Extract method.
Parameters
\Drupal\file\Entity\File $file: The file object.
Return value
string The file extracted content.
1 method overrides TextExtractorPluginInterface::extract()
- TextExtractorPluginBase::extract in src/TextExtractorPluginBase.php 
- Extract method.
File
- src/TextExtractorPluginInterface.php, line 25 
Class
- TextExtractorPluginInterface
- Provides an interface for a plugin that extracts files content.
Namespace
Drupal\search_api_attachmentsCode
public function extract(File $file);