public function SavedSearchTypeInterface::isValidNotificationPlugin in Search API Saved Searches 8
Determines whether the given notification plugin ID is valid for this type.
The general contract of this method is that it should return TRUE if, and only if, a call to getNotificationPlugin() with the same ID would not result in an exception.
Parameters
string $notification_plugin_id: A notification plugin ID.
Return value
bool TRUE if the notification plugin with the given ID is enabled for this saved search type and can be loaded. FALSE otherwise.
1 method overrides SavedSearchTypeInterface::isValidNotificationPlugin()
- SavedSearchType::isValidNotificationPlugin in src/
Entity/ SavedSearchType.php - Determines whether the given notification plugin ID is valid for this type.
File
- src/
SavedSearchTypeInterface.php, line 53
Class
- SavedSearchTypeInterface
- Provides an interface for saved search types.
Namespace
Drupal\search_api_saved_searchesCode
public function isValidNotificationPlugin($notification_plugin_id);