You are here

public property MessageType::$data in Message 7

Serialized array with misc options.

Purge settings (under $message_type->data['purge]). Note that the purge settings can be added only to the message-type.

  • 'enabled': TRUE or FALSE to explicetly enable or disable message purging. IF not set, the default purge settings defined in the "Message settings" will apply.
  • 'quota': Optional; Maximal (approximate) amount of allowed messages of the message type. IF not set, the default purge settings defined in the "Message settings" will apply.
  • 'days': Optional; Maximal message age in days. IF not set, the default purge settings defined in the "Message settings" will apply.

Token settings:

  • 'token replace': Indicate if message's text should be passed through token_replace(). defaults to TRUE.
  • 'token options': Array with options to be passed to token_replace().

Tokens settings assigned to message-type can be overriden by the ones assigned to the message.

Type: array

See also

message_get_property_values()

File

includes/message.message_type.inc, line 112
A class used for message types.

Class

MessageType
@file A class used for message types.

Code

public $data = array();