public function RngEventType::setDefaultMessages in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 3.x src/Entity/RngEventType.php \Drupal\rng\Entity\RngEventType::setDefaultMessages()
Set default messages for this event type.
Parameters
array $messages: Default messages array.
Overrides EventTypeInterface::setDefaultMessages
File
- src/
Entity/ RngEventType.php, line 242
Class
- RngEventType
- Defines the event type entity.
Namespace
Drupal\rng\EntityCode
public function setDefaultMessages($messages) {
$this->default_messages = $messages;
return $this;
}