protected function SearchApiPluginManager::alterEvent in Search API 8
Sets the alter event class name.
Parameters
string $eventName: Name of the event to use for the alter event.
7 calls to SearchApiPluginManager::alterEvent()
- BackendPluginManager::__construct in src/
Backend/ BackendPluginManager.php - Constructs a BackendPluginManager object.
- DatasourcePluginManager::__construct in src/
Datasource/ DatasourcePluginManager.php - Constructs a DatasourcePluginManager object.
- DataTypePluginManager::__construct in src/
DataType/ DataTypePluginManager.php - Constructs a DataTypePluginManager object.
- DisplayPluginManager::__construct in src/
Display/ DisplayPluginManager.php - Constructs a new class instance.
- ParseModePluginManager::__construct in src/
ParseMode/ ParseModePluginManager.php - Constructs a ParseModePluginManager object.
File
- src/
SearchApiPluginManager.php, line 61
Class
- SearchApiPluginManager
- Extends the default plugin manager to add support for alter events.
Namespace
Drupal\search_apiCode
protected function alterEvent($eventName) {
$this->alterEventName = $eventName;
}