public static function MessageTemplate::create in Message 8
Return value
\Drupal\message\MessageTemplateInterface A message template object ready to be save.
Overrides EntityBase::create
3 calls to MessageTemplate::create()
- DaysTest::setUp in tests/
src/ Kernel/ Plugin/ MessagePurge/ DaysTest.php - MessageCron::testPurge in tests/
src/ Functional/ MessageCron.php - Testing the deletion of messages in cron according to settings.
- QuotaTest::setUp in tests/
src/ Kernel/ Plugin/ MessagePurge/ QuotaTest.php
File
- src/
Entity/ MessageTemplate.php, line 318
Class
- MessageTemplate
- Defines the Message template entity class.
Namespace
Drupal\message\EntityCode
public static function create(array $values = []) {
return parent::create($values);
}