public function TestMessage::getMessage in Courier 8
Same name and namespace in other branches
- 2.x tests/modules/courier_test_message/src/Entity/TestMessage.php \Drupal\courier_test_message\Entity\TestMessage::getMessage()
3 calls to TestMessage::getMessage()
- TestMessage::applyTokens in tests/
modules/ courier_test_message/ src/ Entity/ TestMessage.php - Applies tokens to relevant fields.
- TestMessage::exportTemplate in tests/
modules/ courier_test_message/ src/ Entity/ TestMessage.php - Export the message values from this template to configuration values, as found in the 'courier.template.TYPE' config type. Where TYPE is the entity type ID of this entity.
- TestMessage::isEmpty in tests/
modules/ courier_test_message/ src/ Entity/ TestMessage.php - Determine if there is enough data to transmit a message.
File
- tests/
modules/ courier_test_message/ src/ Entity/ TestMessage.php, line 42
Class
- TestMessage
- Defines storage for a test message.
Namespace
Drupal\courier_test_message\EntityCode
public function getMessage() {
return $this
->get('message')->value;
}