You are here

public function SavedSearchTypeInterface::addNotificationPlugin in Search API Saved Searches 8

Adds a notification plugin to this saved search type.

An existing notification plugin with the same ID will be replaced.

Parameters

\Drupal\search_api_saved_searches\Notification\NotificationPluginInterface $notification_plugin: The notification plugin to be added.

Return value

$this

1 method overrides SavedSearchTypeInterface::addNotificationPlugin()
SavedSearchType::addNotificationPlugin in src/Entity/SavedSearchType.php
Adds a notification plugin to this saved search type.

File

src/SavedSearchTypeInterface.php, line 80

Class

SavedSearchTypeInterface
Provides an interface for saved search types.

Namespace

Drupal\search_api_saved_searches

Code

public function addNotificationPlugin(NotificationPluginInterface $notification_plugin);