public function SavedSearchTypeInterface::getNotificationPlugin in Search API Saved Searches 8
Retrieves a specific notification plugin for this saved search type.
Parameters
string $notification_plugin_id: The ID of the notification plugin to return.
Return value
\Drupal\search_api_saved_searches\Notification\NotificationPluginInterface The notification plugin with the given ID.
Throws
\Drupal\search_api_saved_searches\SavedSearchesException Thrown if the specified notification plugin isn't enabled for this saved search type, or couldn't be loaded.
1 method overrides SavedSearchTypeInterface::getNotificationPlugin()
- SavedSearchType::getNotificationPlugin in src/
Entity/ SavedSearchType.php - Retrieves a specific notification plugin for this saved search type.
File
- src/
SavedSearchTypeInterface.php, line 68
Class
- SavedSearchTypeInterface
- Provides an interface for saved search types.
Namespace
Drupal\search_api_saved_searchesCode
public function getNotificationPlugin($notification_plugin_id);