public function TextValueInterface::getProperty in Search API 8
Retrieves a specific property of this text value.
Parameters
string $name: The property's name.
mixed $default: (optional) The default to return if the property wasn't set yet.
Return value
mixed Either the property's value, or the given $default if it wasn't set yet.
1 method overrides TextValueInterface::getProperty()
- TextValue::getProperty in src/
Plugin/ search_api/ data_type/ value/ TextValue.php - Retrieves a specific property of this text value.
File
- src/
Plugin/ search_api/ data_type/ value/ TextValueInterface.php, line 101
Class
- TextValueInterface
- Provides an interface for fulltext field values.
Namespace
Drupal\search_api\Plugin\search_api\data_type\valueCode
public function getProperty($name, $default = NULL);