public function Synonym::getType in Search API Synonym 8
Gets the Synonym type.
Return value
string Type of the Synonym.
Overrides SynonymInterface::getType
File
- src/
Entity/ Synonym.php, line 65
Class
- Synonym
- Defines the Synonym entity.
Namespace
Drupal\search_api_synonym\EntityCode
public function getType() {
return $this
->get('type')->value;
}