protected function Glossary::makeFieldName in Search API AZ Glossary 8.4
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/processor/Glossary.php \Drupal\search_api_glossary\Plugin\search_api\processor\Glossary::makeFieldName()
Return the glossary name of source field.
Parameters
string $name: Name of the original field.
Return value
string Name of the glossary field.
3 calls to Glossary::makeFieldName()
- Glossary::addFieldValues in src/
Plugin/ search_api/ processor/ Glossary.php - Adds the values of properties defined by this processor to the item.
- Glossary::getPropertyDefinitions in src/
Plugin/ search_api/ processor/ Glossary.php - Retrieves the properties this processor defines for the given datasource.
- Glossary::preIndexSave in src/
Plugin/ search_api/ processor/ Glossary.php - Preprocesses the search index entity before it is saved.
File
- src/
Plugin/ search_api/ processor/ Glossary.php, line 262
Class
- Glossary
- Adds the item's AZ to the indexed data.
Namespace
Drupal\search_api_glossary\Plugin\search_api\processorCode
protected function makeFieldName($name) {
return $this->targetFieldPrefix . $name;
}