public function RngEventType::setDefaultMessages in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 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;
}