public function GlossaryHelper::isSpecial in Search API AZ Glossary 8.4
Same name and namespace in other branches
- 8.3 src/Service/GlossaryHelper.php \Drupal\search_api_glossary\Service\GlossaryHelper::isSpecial()
Detect non Alpha Numeric.
Parameters
string $first_letter: First Letter for the Glossary.
Return value
bool is it non Alpha Numeric?
1 call to GlossaryHelper::isSpecial()
- GlossaryHelper::glossaryGroupName in src/
Service/ GlossaryHelper.php - Helper for Alpha Numeric Keys.
File
- src/
Service/ GlossaryHelper.php, line 151
Class
- GlossaryHelper
- Search Api Glossary AZ Helper class.
Namespace
Drupal\search_api_glossary\ServiceCode
public function isSpecial($first_letter) {
if ($this
->isAlpha($first_letter) == FALSE && $this
->isNumeric($first_letter) == FALSE) {
return TRUE;
}
return FALSE;
}