You are here

public function SmsMessageInterface::removeOption in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::removeOption()
  2. 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::removeOption()

Removes an option from this SMS message.

Parameters

string $name: The name of the option.

Return value

$this The called SMS message object.

2 methods override SmsMessageInterface::removeOption()
SmsMessage::removeOption in src/Message/SmsMessage.php
Removes an option from this SMS message.
SmsMessage::removeOption in src/Entity/SmsMessage.php
Removes an option from this SMS message.

File

src/Message/SmsMessageInterface.php, line 143

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function removeOption($name);