You are here

public function GoogleOptions::setTitle in Charts 8.3

Same name and namespace in other branches
  1. 8 modules/charts_google/src/Settings/Google/GoogleOptions.php \Drupal\charts_google\Settings\Google\GoogleOptions::setTitle()

Sets the title of the Material Chart. Only Material Charts support titles.

Parameters

string $title: Title.

File

modules/charts_google/src/Settings/Google/GoogleOptions.php, line 237

Class

GoogleOptions
Class GoogleOptions.

Namespace

Drupal\charts_google\Settings\Google

Code

public function setTitle($title) {
  $this->title = $title;
}