core_message/notification_preference

Controls the preference for an individual notification type on the message preference page.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Methods

(inner) getEnabledPreferenceKey() → {string}

Source:

Get the unique key for the enabled preference.

Returns:
Type
string

(inner) getPreferenceKey() → {string}

Source:

Get the unique prefix key that identifies this user preference.

Returns:
Type
string

(inner) getProcessors() → {array}

Source:

Get the list of Processors available for this preference.

Returns:
Type
array

(inner) isLoading() → {Boolean}

Source:

Check if the preference is loading.

Returns:
Type
Boolean

(inner) save() → {object}

Source:

Persist the current state of the processors for this preference.

Returns:

jQuery promise

Type
object

(inner) startLoading()

Source:

Flag the preference as loading.

(inner) stopLoading()

Source:

Remove the loading flag for this preference.