You are here

protected property MessageTemplate::$settings in Message 8

Serialized array with misc options.

Purge settings:

  • 'purge_override': TRUE or FALSE override the global behavior. "Message settings" will apply. Defaults to FALSE.
  • 'purge_methods': An array of purge method plugin configuration, keyed by the plugin ID. An empty array indicates no purge is enabled (although global settings will be used unless 'purge_override' is TRUE).

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-template can be overriden by the ones assigned to the message.

Type: array

File

src/Entity/MessageTemplate.php, line 156

Class

MessageTemplate
Defines the Message template entity class.

Namespace

Drupal\message\Entity

Code

protected $settings = [];