You are here

public function Subscription::setTitle in Commerce Recurring Framework 8

Sets the subscription title.

Parameters

string $title: The subscription title.

Return value

$this

Overrides SubscriptionInterface::setTitle

File

src/Entity/Subscription.php, line 236

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setTitle($title) {
  $this
    ->set('title', $title);
  return $this;
}