public function TaskInterface::getIndexId in Search API 8
Retrieves the ID of the search index associated with this task, if any.
Return value
string|null The search index ID, or NULL if there is none.
1 method overrides TaskInterface::getIndexId()
- Task::getIndexId in src/
Entity/ Task.php - Retrieves the ID of the search index associated with this task, if any.
File
- src/
Task/ TaskInterface.php, line 46
Class
- TaskInterface
- Defines an interface for a Search API task.
Namespace
Drupal\search_api\TaskCode
public function getIndexId();