You are here

public function NotificationPluginInterface::getFieldDefinitions in Search API Saved Searches 8

Retrieves the field definitions to add to saved searches for this plugin.

The field definitions will be added to all bundles for which this notification plugin is active.

If an existing plugin's field definitions change in any way, it is the providing module's responsibility to provide an update hook calling field storage definition listener's CRUD methods as appropriate.

Return value

\Drupal\search_api_saved_searches\BundleFieldDefinition[] An array of bundle field definitions, keyed by field name.

1 method overrides NotificationPluginInterface::getFieldDefinitions()
NotificationPluginBase::getFieldDefinitions in src/Notification/NotificationPluginBase.php
Retrieves the field definitions to add to saved searches for this plugin.

File

src/Notification/NotificationPluginInterface.php, line 54

Class

NotificationPluginInterface
Provides an interface for notification plugins.

Namespace

Drupal\search_api_saved_searches\Notification

Code

public function getFieldDefinitions();