You are here

public function NotificationPluginBase::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.

Overrides NotificationPluginInterface::getFieldDefinitions

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

File

src/Notification/NotificationPluginBase.php, line 77

Class

NotificationPluginBase
Defines a base class for notification plugins.

Namespace

Drupal\search_api_saved_searches\Notification

Code

public function getFieldDefinitions() {
  return [];
}