public function FieldsHelperInterface::getNewFieldId in Search API 8
Finds a new unique field identifier on the given index.
Parameters
\Drupal\search_api\IndexInterface $index: The search index.
string $propertyPath: The property path on which the field identifier should be based. Only the last component of the property path will be considered.
Return value
string A new unique field identifier on the given index.
1 method overrides FieldsHelperInterface::getNewFieldId()
- FieldsHelper::getNewFieldId in src/
Utility/ FieldsHelper.php - Finds a new unique field identifier on the given index.
File
- src/
Utility/ FieldsHelperInterface.php, line 258
Class
- FieldsHelperInterface
- Provides an interface for implementations of the fields helper service.
Namespace
Drupal\search_api\UtilityCode
public function getNewFieldId(IndexInterface $index, $propertyPath);