public function SmsMessageInterface::setOption in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setOption()
- 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setOption()
Sets an option for this SMS message.
Parameters
string $name: The name of the option.
mixed $value: The value of the option.
Return value
$this The called SMS message object.
2 methods override SmsMessageInterface::setOption()
- SmsMessage::setOption in src/
Message/ SmsMessage.php - Sets an option for this SMS message.
- SmsMessage::setOption in src/
Entity/ SmsMessage.php - Sets an option for this SMS message.
File
- src/
Message/ SmsMessageInterface.php, line 132
Class
- SmsMessageInterface
- Contains information about an SMS message.
Namespace
Drupal\sms\MessageCode
public function setOption($name, $value);