public function SavedSearchType::setNotificationPlugins in Search API Saved Searches 8
Sets this saved search type's notification plugins.
Parameters
\Drupal\search_api_saved_searches\Notification\NotificationPluginInterface[] $notification_plugins: An array of notification plugins.
Return value
$this
Overrides SavedSearchTypeInterface::setNotificationPlugins
File
- src/
Entity/ SavedSearchType.php, line 391
Class
- SavedSearchType
- Provides an entity type for configuring how searches can be saved.
Namespace
Drupal\search_api_saved_searches\EntityCode
public function setNotificationPlugins(array $notification_plugins = NULL) {
$this->notificationPluginInstances = $notification_plugins;
return $this;
}